OmniGears: fix layout of slider

http://jira.omnirom.org/browse/OMNI-61

Change-Id: Idb00aa00de6ca80a99078e8481253831587daa42
diff --git a/res/layout/seek_bar_preference.xml b/res/layout/seek_bar_preference.xml
index f7cf081..c53d2fa 100644
--- a/res/layout/seek_bar_preference.xml
+++ b/res/layout/seek_bar_preference.xml
@@ -25,34 +25,37 @@
             android:textAppearance="?android:attr/textAppearanceSmall"
             android:textColor="?android:attr/textColorSecondary" />
 
-    <TextView android:id="@+id/seekBarPrefUnitsRight"
-            android:layout_alignParentRight="true"
-            android:layout_below="@android:id/title"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:textAppearance="?android:attr/textAppearanceSmall" />
-
-    <TextView android:id="@+id/seekBarPrefValue"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_toLeftOf="@id/seekBarPrefUnitsRight"
-            android:layout_below="@android:id/title"
-            android:gravity="right"
-            android:textAppearance="?android:attr/textAppearanceSmall" />
-
-    <TextView android:id="@+id/seekBarPrefUnitsLeft"
-            android:layout_below="@android:id/title"
-            android:layout_toLeftOf="@id/seekBarPrefValue"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:textAppearance="?android:attr/textAppearanceSmall" />
-
-    <LinearLayout android:id="@+id/seekBarPrefBarContainer"
-            android:layout_alignParentLeft="true"
-            android:layout_alignParentBottom="true"
+    <RelativeLayout
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
-            android:layout_below="@android:id/summary">
-    </LinearLayout>
+            android:layout_below="@android:id/summary" >
+    
+            <TextView android:id="@+id/seekBarPrefUnitsRight"
+                    android:layout_centerInParent="true"
+                    android:layout_alignParentRight="true"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:textAppearance="?android:attr/textAppearanceSmall" />
 
+            <TextView android:id="@+id/seekBarPrefValue"
+                    android:layout_centerInParent="true"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_toLeftOf="@id/seekBarPrefUnitsRight"
+                    android:gravity="right"
+                    android:textAppearance="?android:attr/textAppearanceSmall" />
+
+            <TextView android:id="@+id/seekBarPrefUnitsLeft"
+                    android:layout_centerInParent="true"
+                    android:layout_toLeftOf="@id/seekBarPrefValue"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:textAppearance="?android:attr/textAppearanceSmall" />
+
+            <LinearLayout android:id="@+id/seekBarPrefBarContainer"
+                    android:layout_centerInParent="true"
+                    android:layout_width="fill_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_toLeftOf="@id/seekBarPrefUnitsLeft" />
+    </RelativeLayout>
 </RelativeLayout>