diff options
Diffstat (limited to 'media/tests')
-rw-r--r-- | media/tests/MediaFrameworkTest/res/layout/movie_view.xml | 10 | ||||
-rw-r--r-- | media/tests/MediaFrameworkTest/res/layout/surface_view.xml | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/media/tests/MediaFrameworkTest/res/layout/movie_view.xml b/media/tests/MediaFrameworkTest/res/layout/movie_view.xml index 35fedfa..cfd86bb 100644 --- a/media/tests/MediaFrameworkTest/res/layout/movie_view.xml +++ b/media/tests/MediaFrameworkTest/res/layout/movie_view.xml @@ -15,12 +15,12 @@ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" + android:layout_width="match_parent" + android:layout_height="match_parent" android:orientation="vertical"> <FrameLayout - android:layout_width="fill_parent" + android:layout_width="match_parent" android:layout_height="0px" android:layout_weight="1"> @@ -32,12 +32,12 @@ </FrameLayout> <LinearLayout - android:layout_width="fill_parent" + android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <EditText android:id="@+id/url" - android:layout_width="fill_parent" + android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="0" android:singleLine="true" diff --git a/media/tests/MediaFrameworkTest/res/layout/surface_view.xml b/media/tests/MediaFrameworkTest/res/layout/surface_view.xml index cbd1ff8..a72c283 100644 --- a/media/tests/MediaFrameworkTest/res/layout/surface_view.xml +++ b/media/tests/MediaFrameworkTest/res/layout/surface_view.xml @@ -15,18 +15,18 @@ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" + android:layout_width="match_parent" + android:layout_height="match_parent" android:orientation="vertical"> <FrameLayout - android:layout_width="fill_parent" - android:layout_height="fill_parent"> + android:layout_width="match_parent" + android:layout_height="match_parent"> <SurfaceView android:id="@+id/surface_view" - android:layout_width="fill_parent" - android:layout_height="fill_parent" + android:layout_width="match_parent" + android:layout_height="match_parent" android:layout_centerInParent="true" /> |