| <?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> |