summaryrefslogtreecommitdiff
path: root/res/layout/autoflattr_preference_dialog.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/autoflattr_preference_dialog.xml')
-rw-r--r--res/layout/autoflattr_preference_dialog.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/res/layout/autoflattr_preference_dialog.xml b/res/layout/autoflattr_preference_dialog.xml
new file mode 100644
index 000000000..fc2df30d7
--- /dev/null
+++ b/res/layout/autoflattr_preference_dialog.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <CheckBox
+ android:id="@+id/chkAutoFlattr"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="4dp"
+ android:text="@string/auto_flattr_enable"
+ android:textColor="?android:attr/textColorPrimary"
+ android:textSize="@dimen/text_size_small" />
+
+ <SeekBar
+ android:id="@+id/skbPercent"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dp"
+ android:max="100" />
+
+ <TextView
+ android:id="@+id/txtvStatus"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dp"
+ android:ellipsize="end"
+ android:lines="2"
+ android:text="@string/auto_flattr_after_percent"
+ android:textColor="?android:attr/textColorPrimary"
+ android:textSize="@dimen/text_size_small" />
+
+</LinearLayout> \ No newline at end of file