2018-12-16 15:48:44 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-11-30 12:24:50 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-12-16 19:54:15 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-12-16 15:48:44 +01:00
|
|
|
android:id="@+id/config_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_margin="@dimen/activity_margin">
|
|
|
|
|
2018-12-16 16:24:44 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/folder_picker_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-12-16 18:24:49 +01:00
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/folder_picker_show_folder_name_holder"
|
2021-11-30 12:24:50 +01:00
|
|
|
style="@style/SettingsHolderCheckboxStyle"
|
2018-12-16 18:24:49 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-11-30 12:24:50 +01:00
|
|
|
android:background="?attr/selectableItemBackground">
|
2018-12-16 18:24:49 +01:00
|
|
|
|
2021-11-30 12:24:50 +01:00
|
|
|
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
|
2018-12-16 18:24:49 +01:00
|
|
|
android:id="@+id/folder_picker_show_folder_name"
|
2021-11-30 12:24:50 +01:00
|
|
|
style="@style/SettingsCheckboxStyle"
|
2018-12-16 18:24:49 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-11-30 12:24:50 +01:00
|
|
|
android:text="@string/show_folder_name" />
|
2018-12-16 18:24:49 +01:00
|
|
|
|
|
|
|
</RelativeLayout>
|
2018-12-16 16:24:44 +01:00
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
android:id="@+id/folder_picker_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-12-16 18:24:49 +01:00
|
|
|
android:layout_below="@+id/folder_picker_show_folder_name_holder"
|
|
|
|
android:layout_marginTop="@dimen/small_margin"
|
2018-12-16 16:24:44 +01:00
|
|
|
android:layout_marginBottom="@dimen/normal_margin"
|
2019-05-16 23:04:51 +02:00
|
|
|
android:paddingStart="@dimen/activity_margin"
|
2021-11-30 12:24:50 +01:00
|
|
|
android:text="@string/folder_on_widget" />
|
2018-12-16 16:24:44 +01:00
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
android:id="@+id/folder_picker_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/folder_picker_label"
|
2019-05-16 23:04:51 +02:00
|
|
|
android:layout_marginStart="@dimen/activity_margin"
|
2018-12-16 16:24:44 +01:00
|
|
|
android:background="@drawable/button_background"
|
|
|
|
android:padding="@dimen/normal_margin"
|
2021-11-30 12:24:50 +01:00
|
|
|
tools:text="@string/internal" />
|
2018-12-16 16:24:44 +01:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2018-12-16 15:48:44 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/config_image_holder"
|
2018-12-16 21:16:17 +01:00
|
|
|
android:layout_width="160dp"
|
2018-12-16 19:54:15 +01:00
|
|
|
android:layout_height="wrap_content"
|
2022-05-09 11:20:12 +02:00
|
|
|
android:layout_below="@+id/folder_picker_holder"
|
|
|
|
android:layout_marginTop="@dimen/activity_margin"
|
|
|
|
android:background="@drawable/widget_round_background">
|
2018-12-16 15:48:44 +01:00
|
|
|
|
2022-03-18 17:33:44 +01:00
|
|
|
<com.simplemobiletools.commons.views.MySquareImageView
|
2018-12-16 15:48:44 +01:00
|
|
|
android:id="@+id/config_image"
|
2018-12-16 19:54:15 +01:00
|
|
|
android:layout_width="@dimen/widget_initial_size"
|
|
|
|
android:layout_height="@dimen/widget_initial_size"
|
2018-12-16 21:16:17 +01:00
|
|
|
android:layout_centerHorizontal="true"
|
2022-05-14 22:30:06 +02:00
|
|
|
android:layout_marginStart="@dimen/normal_margin"
|
|
|
|
android:layout_marginTop="@dimen/small_margin"
|
|
|
|
android:layout_marginEnd="@dimen/normal_margin"
|
|
|
|
android:layout_marginBottom="@dimen/small_margin" />
|
2018-12-16 19:54:15 +01:00
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
android:id="@+id/config_folder_name"
|
2018-12-16 15:48:44 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-12-16 19:54:15 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/config_image"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="center"
|
2022-05-14 22:30:06 +02:00
|
|
|
android:includeFontPadding="false"
|
2018-12-16 19:54:15 +01:00
|
|
|
android:lines="1"
|
2022-05-14 22:30:06 +02:00
|
|
|
android:paddingBottom="@dimen/small_margin"
|
2018-12-16 19:54:15 +01:00
|
|
|
android:textSize="@dimen/bigger_text_size"
|
2021-11-30 12:24:50 +01:00
|
|
|
tools:text="@string/internal" />
|
2018-12-16 15:48:44 +01:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/config_bg_color"
|
|
|
|
android:layout_width="@dimen/widget_colorpicker_size"
|
|
|
|
android:layout_height="@dimen/widget_colorpicker_size"
|
2022-04-25 22:44:58 +02:00
|
|
|
android:layout_above="@+id/config_text_color"
|
|
|
|
android:layout_margin="@dimen/tiny_margin" />
|
2018-12-16 15:48:44 +01:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/config_bg_seekbar_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignTop="@+id/config_bg_color"
|
|
|
|
android:layout_alignBottom="@+id/config_bg_color"
|
2022-04-25 22:44:58 +02:00
|
|
|
android:layout_marginStart="@dimen/medium_margin"
|
2018-12-16 15:48:44 +01:00
|
|
|
android:layout_toEndOf="@+id/config_bg_color"
|
2022-04-25 22:44:58 +02:00
|
|
|
android:background="@drawable/widget_config_seekbar_background">
|
2018-12-16 15:48:44 +01:00
|
|
|
|
2022-04-25 22:44:58 +02:00
|
|
|
<com.simplemobiletools.commons.views.MySeekBar
|
2018-12-16 15:48:44 +01:00
|
|
|
android:id="@+id/config_bg_seekbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="@dimen/activity_margin"
|
2021-11-30 12:24:50 +01:00
|
|
|
android:paddingRight="@dimen/activity_margin" />
|
2022-04-25 22:44:58 +02:00
|
|
|
|
2018-12-16 15:48:44 +01:00
|
|
|
</RelativeLayout>
|
|
|
|
|
2018-12-16 19:31:59 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/config_text_color"
|
|
|
|
android:layout_width="@dimen/widget_colorpicker_size"
|
|
|
|
android:layout_height="@dimen/widget_colorpicker_size"
|
2022-04-25 22:44:58 +02:00
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_margin="@dimen/tiny_margin" />
|
2018-12-16 19:31:59 +01:00
|
|
|
|
2018-12-16 15:48:44 +01:00
|
|
|
<Button
|
|
|
|
android:id="@+id/config_save"
|
|
|
|
android:layout_width="wrap_content"
|
2022-04-25 22:44:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
2018-12-16 15:48:44 +01:00
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
2022-04-25 22:44:58 +02:00
|
|
|
android:background="@drawable/widget_config_seekbar_background"
|
2018-12-16 15:48:44 +01:00
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:paddingLeft="@dimen/activity_margin"
|
|
|
|
android:paddingRight="@dimen/activity_margin"
|
|
|
|
android:text="@string/ok"
|
2022-05-09 11:20:12 +02:00
|
|
|
android:textColor="@color/dark_grey"
|
2022-04-25 22:44:58 +02:00
|
|
|
android:textFontWeight="400"
|
2021-11-30 12:24:50 +01:00
|
|
|
android:textSize="@dimen/big_text_size" />
|
2018-12-16 15:48:44 +01:00
|
|
|
|
|
|
|
</RelativeLayout>
|