diff options
author | Owen Lin <owenlin@google.com> | 2011-09-09 13:33:44 +0800 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2011-09-14 14:34:56 +0800 |
commit | bc552bd908babd43087dba4638ea974892264c30 (patch) | |
tree | f8c1558869e0e9922500d7cd3b638f008fda52b4 /res/layout/main.xml | |
parent | 0513a9e07c161a2abec9a3598935cd31c7824ecc (diff) | |
download | android_packages_apps_Snap-bc552bd908babd43087dba4638ea974892264c30.tar.gz android_packages_apps_Snap-bc552bd908babd43087dba4638ea974892264c30.tar.bz2 android_packages_apps_Snap-bc552bd908babd43087dba4638ea974892264c30.zip |
Use different UIs for phone's portrait mode in manage offline page.
fix: 5100503
The original UI design is not suitable for phone's portait mode. I move the
UIs from GL view to android View to get better support.
Change-Id: Ice5f536129f66b51cdaf4db1be750be7bc072c7f
Diffstat (limited to 'res/layout/main.xml')
-rw-r--r-- | res/layout/main.xml | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/res/layout/main.xml b/res/layout/main.xml index d5188330e..b71ea502a 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml @@ -1,10 +1,21 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <com.android.gallery3d.ui.GLRootView - android:id="@+id/gl_root_view" - android:layout_width="match_parent" - android:layout_height="match_parent"/> -</LinearLayout> + android:id="@+id/gl_root_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_alignParentBottom="true" + android:layout_alignParentLeft="true" + android:layout_alignParentRight="true" + android:layout_alignParentTop="true"/> + <FrameLayout android:id="@+id/footer" + android:visibility="gone" + android:layout_alignParentBottom="true" + android:layout_alignParentLeft="true" + android:layout_alignParentRight="true" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> +</RelativeLayout> |