2016-07-20 20:46:51 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-10-08 15:43:38 +02:00
|
|
|
android:id="@+id/settings_scrollview"
|
2016-07-20 20:46:51 +02:00
|
|
|
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
|
2016-12-15 22:49:23 +01:00
|
|
|
android:id="@+id/settings_customize_colors_holder"
|
2016-07-20 20:46:51 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-12-27 22:39:26 +01:00
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
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">
|
|
|
|
|
2016-12-25 15:17:15 +01:00
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
2016-12-15 22:49:23 +01:00
|
|
|
android:id="@+id/settings_customize_colors_label"
|
2016-07-20 20:46:51 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
2016-12-27 22:39:26 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2016-12-15 22:49:23 +01:00
|
|
|
android:text="@string/customize_colors"/>
|
2016-07-20 20:46:51 +02:00
|
|
|
|
|
|
|
</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"
|
2016-12-27 22:39:26 +01:00
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
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">
|
|
|
|
|
2016-12-18 20:02:18 +01:00
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
android:id="@+id/settings_same_sorting"
|
|
|
|
android:layout_width="match_parent"
|
2016-08-23 21:18:40 +02:00
|
|
|
android:layout_height="wrap_content"
|
2016-12-18 20:02:18 +01:00
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
2016-12-27 22:39:26 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2016-08-23 21:18:40 +02:00
|
|
|
android:text="@string/same_sorting"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2016-10-09 14:14:58 +02:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/settings_show_hidden_folders_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-12-27 22:39:26 +01:00
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
2016-10-09 14:14:58 +02:00
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:padding="@dimen/activity_margin">
|
|
|
|
|
2016-12-18 20:02:18 +01:00
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
android:id="@+id/settings_show_hidden_folders"
|
|
|
|
android:layout_width="match_parent"
|
2016-10-09 14:14:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
2016-12-18 20:02:18 +01:00
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
2016-12-27 22:39:26 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2016-10-09 14:14:58 +02:00
|
|
|
android:text="@string/show_hidden_folders"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2016-10-25 20:42:23 +02:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/settings_autoplay_videos_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-12-27 22:39:26 +01:00
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
2016-10-25 20:42:23 +02:00
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:padding="@dimen/activity_margin">
|
|
|
|
|
2016-12-18 20:02:18 +01:00
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
android:id="@+id/settings_autoplay_videos"
|
|
|
|
android:layout_width="match_parent"
|
2016-10-25 20:42:23 +02:00
|
|
|
android:layout_height="wrap_content"
|
2016-12-18 20:02:18 +01:00
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
2016-12-27 22:39:26 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2016-10-25 20:42:23 +02:00
|
|
|
android:text="@string/autoplay_videos"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2016-12-10 21:16:53 +01:00
|
|
|
|
2016-12-28 20:31:18 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/settings_loop_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_loop_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/loop_videos"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2016-12-10 21:16:53 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/settings_show_media_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-12-27 22:39:26 +01:00
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
2016-12-10 21:16:53 +01:00
|
|
|
android:paddingBottom="@dimen/activity_margin"
|
|
|
|
android:paddingLeft="@dimen/activity_margin"
|
2016-12-27 22:39:26 +01:00
|
|
|
android:paddingRight="@dimen/medium_margin"
|
2016-12-10 21:16:53 +01:00
|
|
|
android:paddingTop="@dimen/activity_margin">
|
|
|
|
|
2016-12-25 15:17:15 +01:00
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
2016-12-10 21:16:53 +01:00
|
|
|
android:id="@+id/settings_show_media_label"
|
2017-01-23 19:37:32 +01:00
|
|
|
android:layout_width="match_parent"
|
2016-12-10 21:16:53 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
2017-01-23 19:37:32 +01:00
|
|
|
android:layout_toLeftOf="@+id/settings_show_media"
|
|
|
|
android:layout_toStartOf="@+id/settings_show_media"
|
2016-12-27 22:39:26 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
2017-01-23 19:37:32 +01:00
|
|
|
android:paddingRight="@dimen/medium_margin"
|
2016-12-10 21:16:53 +01:00
|
|
|
android:text="@string/show_media"/>
|
|
|
|
|
2016-12-18 20:02:18 +01:00
|
|
|
<com.simplemobiletools.commons.views.MyAppCompatSpinner
|
2016-12-10 21:16:53 +01:00
|
|
|
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>
|
2016-07-20 20:46:51 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|