diff options
Diffstat (limited to 'tutorials/NotepadCodeLab/Notepadv2Solution')
-rwxr-xr-x | tutorials/NotepadCodeLab/Notepadv2Solution/res/layout/note_edit.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tutorials/NotepadCodeLab/Notepadv2Solution/res/layout/note_edit.xml b/tutorials/NotepadCodeLab/Notepadv2Solution/res/layout/note_edit.xml index b254552c3..4af975410 100755 --- a/tutorials/NotepadCodeLab/Notepadv2Solution/res/layout/note_edit.xml +++ b/tutorials/NotepadCodeLab/Notepadv2Solution/res/layout/note_edit.xml @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" android:layout_width="fill_parent" - android:layout_height="fill_parent"> + android:orientation="vertical" android:layout_width="match_parent" + android:layout_height="match_parent"> <LinearLayout android:orientation="horizontal" - android:layout_width="fill_parent" + android:layout_width="match_parent" android:layout_height="wrap_content"> <TextView android:layout_width="wrap_content" @@ -20,7 +20,7 @@ <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/body" /> - <EditText android:id="@+id/body" android:layout_width="fill_parent" + <EditText android:id="@+id/body" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:scrollbars="vertical" /> |