mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-25 05:57:59 +01:00
41 lines
1.5 KiB
XML
41 lines
1.5 KiB
XML
|
<?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"
|
||
|
android:background="?android:attr/selectableItemBackground"
|
||
|
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>
|
||
|
</LinearLayout>
|
||
|
</ScrollView>
|