Skip to content

Commit 844fa4b

Browse files
committed
Re-indent images, since they're showing up as code
1 parent 446ddfd commit 844fa4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

codelabs/chat/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,16 +172,16 @@ Next we'll send data to Firebase! In this step we'll allow the user to enter a m
172172
android:text="Send" />
173173
</LinearLayout>
174174

175-
This layout puts a horizontal bar at the bottom that contains an `EditText`, where the user can enter their chat message, and a `Button` that they can click to send the message.
175+
This layout puts a horizontal bar at the bottom that contains an `EditText`, where the user can enter their chat message, and a `Button` that they can click to send the message.
176176

177-
![Activity_main.xml with footer](images/4_2.png)
177+
![Activity_main.xml with footer](images/4_2.png)
178178

179179
2. In our `MainActivity.java` we'll now add variables for the `EditText` and `Button` at the end of the onCreate method:
180180

181181
final EditText textEdit = (EditText) this.findViewById(R.id.text_edit);
182182
Button sendButton = (Button) this.findViewById(R.id.send_button);
183183

184-
![MainActivity.java with EditText and Button bound](images/4_3.png)
184+
![MainActivity.java with EditText and Button bound](images/4_3.png)
185185

186186
3. Next, we'll add a method that grabs the text from the input and send it to our Firebase database:
187187

@@ -203,7 +203,7 @@ Next we'll send data to Firebase! In this step we'll allow the user to enter a m
203203

204204
We hard-coded our user name for the moment. We'll use Firebase Authentication to make this dynamic in the last section of this code lab.
205205

206-
![onCreate with sendButton implemented](images/4_4.png)
206+
![onCreate with sendButton implemented](images/4_4.png)
207207

208208
5. If you now run the application in the emulator, you will see an input field with a Send button that sends the message to Firebase. Open the URL of your Firebase database, and you'll see it light up green as you add new messages.
209209
6. Open the Data tab in the Firebase Dashboard of your app. You'll see it light up green as you add new messages. Admit it, this is pretty cool!

0 commit comments

Comments
 (0)