2016-07-20 20:46:51 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/settings_scrollview"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/settings_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/settings_dark_theme_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_padding"
|
2016-09-07 22:59:03 +02:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2016-07-20 20:46:51 +02:00
|
|
|
android:padding="@dimen/activity_margin">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/settings_dark_theme_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="@dimen/settings_padding"
|
|
|
|
android:text="@string/dark_theme"/>
|
|
|
|
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
|
|
android:id="@+id/settings_dark_theme"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2016-08-23 21:18:40 +02:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/settings_same_sorting_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_padding"
|
2016-09-07 22:59:03 +02:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2016-08-23 21:18:40 +02:00
|
|
|
android:padding="@dimen/activity_margin">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/settings_same_sorting_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="@dimen/settings_padding"
|
|
|
|
android:text="@string/same_sorting"/>
|
|
|
|
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
|
|
android:id="@+id/settings_same_sorting"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2016-07-20 20:46:51 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|