aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/number_picker_dialog.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/layout/number_picker_dialog.xml')
-rw-r--r--WordPress/src/main/res/layout/number_picker_dialog.xml65
1 files changed, 65 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/number_picker_dialog.xml b/WordPress/src/main/res/layout/number_picker_dialog.xml
new file mode 100644
index 000000000..4cf25f7b3
--- /dev/null
+++ b/WordPress/src/main/res/layout/number_picker_dialog.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <org.wordpress.android.widgets.WPSwitch
+ android:id="@+id/number_picker_switch"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="24dp"
+ android:layout_marginRight="24dp"
+ android:textSize="@dimen/text_sz_large"
+ android:textColor="@color/calypso_title_text" />
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/number_picker_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="24dp"
+ android:layout_marginRight="24dp"
+ android:textSize="@dimen/text_sz_small"
+ android:textColor="@color/grey_darken_10" />
+
+ <LinearLayout
+ android:id="@+id/number_picker_toggleable"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/number_picker_header"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="24dp"
+ android:layout_marginTop="18dp"
+ android:layout_marginRight="24dp"
+ android:layout_marginBottom="8dp"
+ android:duplicateParentState="true"
+ android:textSize="@dimen/text_sz_large"
+ android:textColor="@color/calypso_title_text" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="@color/grey_lighten_30" />
+
+ <org.wordpress.android.ui.WPNumberPicker
+ android:id="@+id/number_picker"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:duplicateParentState="true"
+ android:paddingTop="36dp" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="@color/grey_lighten_30" />
+
+ </LinearLayout>
+
+</LinearLayout>