summaryrefslogtreecommitdiffstats
path: root/res/layout/main.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/main.xml')
-rw-r--r--res/layout/main.xml21
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>