add EditText and Button
This commit is contained in:
parent
610e161e40
commit
e82cfeacd5
@ -1,13 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
>
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
<EditText android:id="@+id/edit_message"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Hello World, MainActivity"
|
||||
/>
|
||||
android:hint="@string/edit_message" />
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/button_send" />
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name">MainActivity</string>
|
||||
<string name="app_name">Joshs First App</string>
|
||||
<string name="edit_message">Enter your message, fu</string>
|
||||
<string name="button_send">Send It, Yo</string>
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user