replace the switch with a checkbox at the widget config screen too

This commit is contained in:
tibbi 2021-11-30 12:24:50 +01:00
parent 904c2f57ab
commit 1e8c8e6f76

View file

@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/config_holder"
android:layout_width="match_parent"
@ -17,22 +15,17 @@
<RelativeLayout
android:id="@+id/folder_picker_show_folder_name_holder"
style="@style/SettingsHolderCheckboxStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:paddingStart="@dimen/activity_margin"
android:paddingTop="@dimen/activity_margin"
android:paddingEnd="@dimen/medium_margin"
android:paddingBottom="@dimen/activity_margin">
android:background="?attr/selectableItemBackground">
<com.simplemobiletools.commons.views.MySwitchCompat
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
android:id="@+id/folder_picker_show_folder_name"
style="@style/SettingsCheckboxStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:text="@string/show_folder_name"
app:switchPadding="@dimen/medium_margin"/>
android:text="@string/show_folder_name" />
</RelativeLayout>