summaryrefslogtreecommitdiffstats
path: root/AdvancedDisplay/res/layout/seek_bar_preference.xml
diff options
context:
space:
mode:
Diffstat (limited to 'AdvancedDisplay/res/layout/seek_bar_preference.xml')
-rw-r--r--AdvancedDisplay/res/layout/seek_bar_preference.xml61
1 files changed, 61 insertions, 0 deletions
diff --git a/AdvancedDisplay/res/layout/seek_bar_preference.xml b/AdvancedDisplay/res/layout/seek_bar_preference.xml
new file mode 100644
index 0000000..38d9a1e
--- /dev/null
+++ b/AdvancedDisplay/res/layout/seek_bar_preference.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/widget_frame"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="8dp"
+ android:paddingTop="5dp"
+ android:paddingRight="10dp"
+ android:paddingBottom="5dp"
+ >
+
+ <TextView android:id="@android:id/title"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView android:id="@android:id/summary"
+ android:layout_alignParentLeft="true"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@android:id/title"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:attr/textColorSecondary" />
+
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ 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>