aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/notifications_settings_switch.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/layout/notifications_settings_switch.xml')
-rw-r--r--WordPress/src/main/res/layout/notifications_settings_switch.xml54
1 files changed, 54 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/notifications_settings_switch.xml b/WordPress/src/main/res/layout/notifications_settings_switch.xml
new file mode 100644
index 000000000..3d6a68e11
--- /dev/null
+++ b/WordPress/src/main/res/layout/notifications_settings_switch.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingBottom="@dimen/margin_medium"
+ android:paddingLeft="24dp"
+ android:paddingRight="24dp"
+ android:paddingTop="@dimen/margin_medium">
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/notifications_switch_title"
+ style="@android:style/TextAppearance.Medium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ tools:text="Comments" />
+
+ <TextView
+ android:id="@+id/notifications_switch_summary"
+ style="@android:style/TextAppearance.Small"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ tools:text="Some example sub text."
+ android:visibility="gone"/>
+ </LinearLayout>
+
+ <Switch
+ android:id="@+id/notifications_switch"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:layout_marginLeft="24dp"
+ android:layout_marginRight="24dp"
+ android:background="@color/notifications_settings_divider_color" />
+
+</LinearLayout> \ No newline at end of file