summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2012-10-23 15:25:39 -0700
committernicolasroard <nicolasroard@google.com>2012-10-23 15:26:36 -0700
commitae215b531ee64ffec0e3a7b003843360102d5c11 (patch)
tree0eee9c6a50bd55a7224941aaa35d27fe46391dac
parenta7291ecf1ac70a4b687ca1429ff7231f83cc5577 (diff)
downloadandroid_packages_apps_Snap-ae215b531ee64ffec0e3a7b003843360102d5c11.tar.gz
android_packages_apps_Snap-ae215b531ee64ffec0e3a7b003843360102d5c11.tar.bz2
android_packages_apps_Snap-ae215b531ee64ffec0e3a7b003843360102d5c11.zip
Fix slider layout
bug:7383094 Change-Id: I271728577e5a9fa4e1dbff354b37aee5d2aefb5c
-rw-r--r--res/layout/filtershow_activity.xml26
1 files changed, 19 insertions, 7 deletions
diff --git a/res/layout/filtershow_activity.xml b/res/layout/filtershow_activity.xml
index 9ccb75532..6cebb3698 100644
--- a/res/layout/filtershow_activity.xml
+++ b/res/layout/filtershow_activity.xml
@@ -117,13 +117,25 @@
android:scaleType="centerInside"
android:src="@drawable/filtershow_button_show_original" />
-->
- <SeekBar
- android:id="@+id/filterSeekBar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:padding="16dip"
- android:visibility="gone" />
+
+ <com.android.gallery3d.filtershow.CenteredLinearLayout
+ xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal|bottom"
+ android:background="@android:color/transparent"
+ custom:max_width="600dip"
+ android:orientation="vertical">
+
+ <SeekBar
+ android:id="@+id/filterSeekBar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:padding="16dip"
+ android:visibility="gone" />
+
+ </com.android.gallery3d.filtershow.CenteredLinearLayout>
</FrameLayout>
<com.android.gallery3d.filtershow.CenteredLinearLayout