Fix slider layout

bug:7383094
Change-Id: I271728577e5a9fa4e1dbff354b37aee5d2aefb5c
diff --git a/res/layout/filtershow_activity.xml b/res/layout/filtershow_activity.xml
index 9ccb755..6cebb36 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