diff options
| author | Romain Guy <romainguy@android.com> | 2010-01-08 15:05:33 -0800 |
|---|---|---|
| committer | Romain Guy <romainguy@android.com> | 2010-01-08 15:11:18 -0800 |
| commit | 74192eafec8408417114d77784cd35eda5df573c (patch) | |
| tree | fac15940efc0fdc38b8bdc44d4c3dc6efa474aab /samples/NotePad | |
| parent | b4e39aebf6b27aa0ed094a75bde8b2bacda28d98 (diff) | |
| download | android_development-74192eafec8408417114d77784cd35eda5df573c.tar.gz android_development-74192eafec8408417114d77784cd35eda5df573c.tar.bz2 android_development-74192eafec8408417114d77784cd35eda5df573c.zip | |
Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
Diffstat (limited to 'samples/NotePad')
| -rw-r--r-- | samples/NotePad/res/layout/note_editor.xml | 4 | ||||
| -rw-r--r-- | samples/NotePad/res/layout/noteslist_item.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/samples/NotePad/res/layout/note_editor.xml b/samples/NotePad/res/layout/note_editor.xml index c54a96308..d7da99ee8 100644 --- a/samples/NotePad/res/layout/note_editor.xml +++ b/samples/NotePad/res/layout/note_editor.xml @@ -17,8 +17,8 @@ <view xmlns:android="http://schemas.android.com/apk/res/android" class="com.example.android.notepad.NoteEditor$LinedEditText" android:id="@+id/note" - android:layout_width="fill_parent" - android:layout_height="fill_parent" + android:layout_width="match_parent" + android:layout_height="match_parent" android:background="@android:color/transparent" android:padding="5dip" android:scrollbars="vertical" diff --git a/samples/NotePad/res/layout/noteslist_item.xml b/samples/NotePad/res/layout/noteslist_item.xml index b16773416..e11c5eed2 100644 --- a/samples/NotePad/res/layout/noteslist_item.xml +++ b/samples/NotePad/res/layout/noteslist_item.xml @@ -16,7 +16,7 @@ <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/text1" - android:layout_width="fill_parent" + android:layout_width="match_parent" android:layout_height="?android:attr/listPreferredItemHeight" android:textAppearance="?android:attr/textAppearanceLarge" android:gravity="center_vertical" |
