mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-25 05:57:59 +01:00
122 lines
5.2 KiB
XML
122 lines
5.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/settings_scrollview"
|
|
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_customize_colors_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:padding="@dimen/activity_margin">
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/settings_customize_colors_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
android:paddingStart="@dimen/medium_margin"
|
|
android:text="@string/customize_colors"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_same_sorting_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:padding="@dimen/activity_margin">
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
android:id="@+id/settings_same_sorting"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
android:paddingStart="@dimen/medium_margin"
|
|
android:text="@string/same_sorting"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_show_hidden_folders_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:padding="@dimen/activity_margin">
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
android:id="@+id/settings_show_hidden_folders"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
android:paddingStart="@dimen/medium_margin"
|
|
android:text="@string/show_hidden_folders"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_autoplay_videos_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:padding="@dimen/activity_margin">
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
android:id="@+id/settings_autoplay_videos"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
android:paddingStart="@dimen/medium_margin"
|
|
android:text="@string/autoplay_videos"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_show_media_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
android:paddingBottom="@dimen/activity_margin"
|
|
android:paddingLeft="@dimen/activity_margin"
|
|
android:paddingRight="@dimen/medium_margin"
|
|
android:paddingTop="@dimen/activity_margin">
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/settings_show_media_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
android:paddingStart="@dimen/medium_margin"
|
|
android:text="@string/show_media"/>
|
|
|
|
<com.simplemobiletools.commons.views.MyAppCompatSpinner
|
|
android:id="@+id/settings_show_media"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentRight="true"
|
|
android:entries="@array/show_media_items"/>
|
|
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|