2018-12-16 15:48:44 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-07-28 12:40:44 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-12-16 19:54:15 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2022-07-28 12:40:44 +02:00
|
|
|
android:id="@+id/config_coordinator"
|
2018-12-16 15:48:44 +01:00
|
|
|
android:layout_width="match_parent"
|
2022-07-28 12:40:44 +02:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2018-12-16 16:24:44 +01:00
|
|
|
<RelativeLayout
|
2022-07-28 12:40:44 +02:00
|
|
|
android:id="@+id/config_holder"
|
2018-12-16 16:24:44 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-28 12:40:44 +02:00
|
|
|
android:layout_centerHorizontal="true"
|
2023-01-09 16:52:26 +01:00
|
|
|
android:layout_margin="@dimen/activity_margin">
|
2018-12-16 18:24:49 +01:00
|
|
|
|
|
|
|
<RelativeLayout
|
2022-07-28 12:40:44 +02:00
|
|
|
android:id="@+id/folder_picker_holder"
|
2018-12-16 18:24:49 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-28 12:40:44 +02:00
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
2018-12-16 18:24:49 +01:00
|
|
|
|
2022-07-28 12:40:44 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/folder_picker_show_folder_name_holder"
|
|
|
|
style="@style/SettingsHolderCheckboxStyle"
|
2018-12-16 18:24:49 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-28 12:40:44 +02:00
|
|
|
android:background="?attr/selectableItemBackground">
|
|
|
|
|
2023-12-12 19:46:44 +05:30
|
|
|
<org.fossify.commons.views.MyAppCompatCheckbox
|
2022-07-28 12:40:44 +02:00
|
|
|
android:id="@+id/folder_picker_show_folder_name"
|
|
|
|
style="@style/SettingsCheckboxStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/show_folder_name" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2023-12-12 19:46:44 +05:30
|
|
|
<org.fossify.commons.views.MyTextView
|
2022-07-28 12:40:44 +02:00
|
|
|
android:id="@+id/folder_picker_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/folder_picker_show_folder_name_holder"
|
|
|
|
android:layout_marginTop="@dimen/small_margin"
|
|
|
|
android:layout_marginBottom="@dimen/normal_margin"
|
|
|
|
android:paddingStart="@dimen/activity_margin"
|
|
|
|
android:text="@string/folder_on_widget" />
|
|
|
|
|
2023-12-12 19:46:44 +05:30
|
|
|
<org.fossify.commons.views.MyTextView
|
2022-07-28 12:40:44 +02:00
|
|
|
android:id="@+id/folder_picker_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/folder_picker_label"
|
|
|
|
android:layout_marginStart="@dimen/activity_margin"
|
|
|
|
android:background="@drawable/button_background"
|
|
|
|
android:padding="@dimen/normal_margin"
|
|
|
|
tools:text="@string/internal" />
|
2018-12-16 18:24:49 +01:00
|
|
|
|
|
|
|
</RelativeLayout>
|
2018-12-16 16:24:44 +01:00
|
|
|
|
2022-07-28 12:40:44 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/config_image_holder"
|
|
|
|
android:layout_width="160dp"
|
2018-12-16 16:24:44 +01:00
|
|
|
android:layout_height="wrap_content"
|
2022-07-28 12:40:44 +02:00
|
|
|
android:layout_below="@+id/folder_picker_holder"
|
|
|
|
android:layout_marginTop="@dimen/activity_margin"
|
|
|
|
android:background="@drawable/widget_round_background">
|
|
|
|
|
2023-12-12 19:46:44 +05:30
|
|
|
<org.fossify.commons.views.MySquareImageView
|
2022-07-28 12:40:44 +02:00
|
|
|
android:id="@+id/config_image"
|
|
|
|
android:layout_width="@dimen/widget_initial_size"
|
|
|
|
android:layout_height="@dimen/widget_initial_size"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginStart="@dimen/normal_margin"
|
|
|
|
android:layout_marginTop="@dimen/small_margin"
|
|
|
|
android:layout_marginEnd="@dimen/normal_margin"
|
|
|
|
android:layout_marginBottom="@dimen/small_margin" />
|
|
|
|
|
2023-12-12 19:46:44 +05:30
|
|
|
<org.fossify.commons.views.MyTextView
|
2022-07-28 12:40:44 +02:00
|
|
|
android:id="@+id/config_folder_name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/config_image"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="center"
|
|
|
|
android:includeFontPadding="false"
|
|
|
|
android:lines="1"
|
|
|
|
android:paddingBottom="@dimen/small_margin"
|
|
|
|
android:textSize="@dimen/bigger_text_size"
|
|
|
|
tools:text="@string/internal" />
|
2018-12-16 16:24:44 +01:00
|
|
|
|
2022-07-28 12:40:44 +02:00
|
|
|
</RelativeLayout>
|
2018-12-16 16:24:44 +01:00
|
|
|
|
2022-07-28 12:40:44 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/config_bg_color"
|
|
|
|
android:layout_width="@dimen/widget_colorpicker_size"
|
|
|
|
android:layout_height="@dimen/widget_colorpicker_size"
|
|
|
|
android:layout_above="@+id/config_text_color"
|
|
|
|
android:layout_margin="@dimen/tiny_margin" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/config_bg_seekbar_holder"
|
2018-12-16 15:48:44 +01:00
|
|
|
android:layout_width="match_parent"
|
2022-07-28 12:40:44 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignTop="@+id/config_bg_color"
|
|
|
|
android:layout_alignBottom="@+id/config_bg_color"
|
|
|
|
android:layout_marginStart="@dimen/medium_margin"
|
|
|
|
android:layout_toEndOf="@+id/config_bg_color"
|
|
|
|
android:background="@drawable/widget_config_seekbar_background">
|
|
|
|
|
2023-12-12 19:46:44 +05:30
|
|
|
<org.fossify.commons.views.MySeekBar
|
2022-07-28 12:40:44 +02: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"
|
|
|
|
android:paddingRight="@dimen/activity_margin" />
|
2018-12-16 15:48:44 +01:00
|
|
|
|
2022-07-28 12:40:44 +02:00
|
|
|
</RelativeLayout>
|
2018-12-16 15:48:44 +01:00
|
|
|
|
2022-07-28 12:40:44 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/config_text_color"
|
|
|
|
android:layout_width="@dimen/widget_colorpicker_size"
|
|
|
|
android:layout_height="@dimen/widget_colorpicker_size"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_margin="@dimen/tiny_margin" />
|
2018-12-16 15:48:44 +01:00
|
|
|
|
2022-07-28 12:40:44 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/config_save"
|
|
|
|
style="@style/MyWidgetConfigSaveStyle"
|
|
|
|
android:layout_width="wrap_content"
|
2018-12-16 15:48:44 +01:00
|
|
|
android:layout_height="wrap_content"
|
2022-07-28 12:40:44 +02:00
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:text="@string/ok" />
|
2022-04-25 22:44:58 +02:00
|
|
|
|
2018-12-16 15:48:44 +01:00
|
|
|
</RelativeLayout>
|
2022-07-28 12:40:44 +02:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|