summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-08-14 15:28:43 -0700
committernicolasroard <nicolasroard@google.com>2013-08-14 15:28:43 -0700
commitcc93b34f2cb66379b553972b120ea3e0cd90175e (patch)
tree319d100e2b25cec6417ec6f2356a350a5385fb26
parent9530962f09e4ef5cefd81cb3cbc5cff2a6e5b818 (diff)
downloadandroid_packages_apps_Gallery2-cc93b34f2cb66379b553972b120ea3e0cd90175e.tar.gz
android_packages_apps_Gallery2-cc93b34f2cb66379b553972b120ea3e0cd90175e.tar.bz2
android_packages_apps_Gallery2-cc93b34f2cb66379b553972b120ea3e0cd90175e.zip
Fix layout in editor panels in landscape
Change-Id: Id20dc27591f4e2acfd9ced934b02be8916379347
-rw-r--r--res/layout-land/filtershow_editor_panel.xml18
1 files changed, 16 insertions, 2 deletions
diff --git a/res/layout-land/filtershow_editor_panel.xml b/res/layout-land/filtershow_editor_panel.xml
index fc3246826..fc13e6df5 100644
--- a/res/layout-land/filtershow_editor_panel.xml
+++ b/res/layout-land/filtershow_editor_panel.xml
@@ -36,6 +36,13 @@
android:layout_alignParentTop="true"
/>
+ <View
+ android:id="@+id/bottomControlLineBottom"
+ android:background="@color/toolbar_separation_line"
+ android:layout_height="1dip"
+ android:layout_width="match_parent"
+ android:layout_alignParentBottom="true"
+ />
<LinearLayout
android:id="@+id/applyBar"
android:layout_width="match_parent"
@@ -44,7 +51,7 @@
android:orientation="horizontal"
android:baselineAligned="false"
android:visibility="visible"
- android:layout_alignParentBottom="true"
+ android:layout_above="@id/bottomControlLineBottom"
>
<ImageButton
@@ -101,13 +108,20 @@
android:src="@drawable/ic_menu_done_holo_light"
android:textSize="18dip"/>
</LinearLayout>
+ <View
+ android:id="@+id/bottomControlLineTop"
+ android:background="@color/toolbar_separation_line"
+ android:layout_height="1dip"
+ android:layout_width="match_parent"
+ android:layout_above="@id/applyBar"
+ />
<LinearLayout
android:id="@+id/controlArea"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
- android:layout_above="@id/applyBar"
+ android:layout_above="@id/bottomControlLineTop"
android:layout_below="@id/toggle_state"
android:gravity="bottom"
android:visibility="visible">