2017-08-04 21:19:04 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/slideshow_scrollview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/slideshow_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/activity_margin">
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
android:id="@+id/interval_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
2017-08-04 21:19:04 +02:00
|
|
|
android:paddingTop="@dimen/activity_margin"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:paddingBottom="@dimen/activity_margin"
|
2017-08-04 21:19:04 +02:00
|
|
|
android:text="@string/interval"/>
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyEditText
|
|
|
|
android:id="@+id/interval_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:ems="5"
|
|
|
|
android:gravity="right"
|
|
|
|
android:imeOptions="actionDone"
|
|
|
|
android:inputType="number"
|
|
|
|
android:maxLength="2"
|
2017-12-06 18:07:05 +01:00
|
|
|
android:textCursorDrawable="@null"
|
|
|
|
android:textSize="@dimen/normal_text_size"/>
|
2017-08-04 21:19:04 +02:00
|
|
|
|
|
|
|
<RelativeLayout
|
2017-08-05 16:12:19 +02:00
|
|
|
android:id="@+id/include_photos_holder"
|
2017-08-04 21:19:04 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/interval_label"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
2017-08-04 21:19:04 +02:00
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
2017-08-05 16:12:19 +02:00
|
|
|
android:id="@+id/include_photos"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:text="@string/include_photos"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/include_videos_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/include_photos_holder"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
2017-08-05 16:12:19 +02:00
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
2017-08-04 21:19:04 +02:00
|
|
|
android:id="@+id/include_videos"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:text="@string/include_videos"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
2017-09-05 16:06:42 +02:00
|
|
|
android:id="@+id/include_gifs_holder"
|
2017-08-04 21:19:04 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/include_videos_holder"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
2017-08-04 21:19:04 +02:00
|
|
|
|
2017-09-05 16:06:42 +02:00
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
android:id="@+id/include_gifs"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:text="@string/include_gifs"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/random_order_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/include_gifs_holder"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
2017-09-05 16:06:42 +02:00
|
|
|
|
2017-08-04 21:19:04 +02:00
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
android:id="@+id/random_order"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:text="@string/random_order"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/use_fade_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/random_order_holder"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
2017-08-05 16:23:52 +02:00
|
|
|
android:paddingTop="@dimen/activity_margin"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:paddingBottom="@dimen/activity_margin"
|
2017-08-05 16:23:52 +02:00
|
|
|
android:visibility="gone">
|
2017-08-04 21:19:04 +02:00
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
android:id="@+id/use_fade"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:text="@string/use_fade"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2017-08-05 12:33:57 +02:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/move_backwards_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/use_fade_holder"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
2017-08-05 12:33:57 +02:00
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
android:id="@+id/move_backwards"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:text="@string/move_backwards"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2017-09-05 20:04:09 +02:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/loop_slideshow_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/move_backwards_holder"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:paddingLeft="@dimen/medium_margin"
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
2017-09-05 20:04:09 +02:00
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
android:id="@+id/loop_slideshow"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:text="@string/loop_slideshow"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2017-08-04 21:19:04 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
</ScrollView>
|