summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2012-10-23 15:33:08 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-10-23 15:33:08 -0700
commitff4abb9e160ee9cf2b98c2f9fbb4af903ce869c7 (patch)
treea2f91ac53f41eff42c1b78e51cf8b62f39c3ab76
parentdb6ab797de3855c251273a2bc9cc7950ea849183 (diff)
parentae215b531ee64ffec0e3a7b003843360102d5c11 (diff)
downloadandroid_packages_apps_Snap-ff4abb9e160ee9cf2b98c2f9fbb4af903ce869c7.tar.gz
android_packages_apps_Snap-ff4abb9e160ee9cf2b98c2f9fbb4af903ce869c7.tar.bz2
android_packages_apps_Snap-ff4abb9e160ee9cf2b98c2f9fbb4af903ce869c7.zip
am 41a3a3be: Fix slider layout
* commit '41a3a3be3f263a3b9c902fbec3124a7ea296d525': Fix slider layout
-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