Skip to content

Commit 39067fb

Browse files
committed
Screenshots from current app
1 parent a4e24d4 commit 39067fb

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

codelabs/chat/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,8 @@ A chat app that doesn’t show existing messages is not very useful. So in this
218218

219219
Let's take this in chunks: first we'll create a Java class to represent each message, then we'll create an Adapter that gets each of the messages from Firebase and puts them into a ListView.
220220

221-
1. As you can see in the screenshot, each chat message has the same layout. Instead of creating a custom layout, we'll use one of the built-in layouts of Android: `android.R.layout.two_line_list_item`. This layout displays the items like this:
222-
223-
![two_line_list_item](images/5_2.png)
224-
225-
We'll show the user name on the first line (in bold) and the message text on the second line.
226-
2. Now create a class `ChatMessage.java` that wraps the username and text message:
221+
1. As you can see in the screenshot, each chat message has the same layout. Instead of creating a custom layout, we'll use one of the built-in layouts of Android: `android.R.layout.two_line_list_item`. We'll show the user name on the first line (in bold) and the message text on the second line.
222+
2. Create a class `ChatMessage.java` that wraps the username and text message:
227223

228224
public class ChatMessage {
229225
private String name;

codelabs/chat/images/5_1.png

100755100644
24 KB
Loading

codelabs/chat/images/5_2.png

-69.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)