mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-22 03:20:16 +01:00
replace the widget config screens Switch with a Checkbox
This commit is contained in:
parent
80ae64ca4b
commit
1f8b408445
@ -11,7 +11,6 @@
|
||||
android:id="@+id/notes_picker_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="@dimen/activity_margin"
|
||||
android:paddingBottom="@dimen/activity_margin">
|
||||
|
||||
<RelativeLayout
|
||||
@ -19,16 +18,15 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:paddingTop="@dimen/activity_margin"
|
||||
android:paddingEnd="@dimen/activity_margin"
|
||||
android:paddingBottom="@dimen/activity_margin">
|
||||
android:padding="@dimen/activity_margin">
|
||||
|
||||
<com.simplemobiletools.commons.views.MySwitchCompat
|
||||
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
|
||||
android:id="@+id/show_note_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@null"
|
||||
android:clickable="false"
|
||||
android:layoutDirection="rtl"
|
||||
android:text="@string/show_note_title"
|
||||
app:switchPadding="@dimen/medium_margin" />
|
||||
|
||||
@ -41,6 +39,7 @@
|
||||
android:layout_below="@+id/show_note_title_holder"
|
||||
android:layout_marginTop="@dimen/medium_margin"
|
||||
android:layout_marginBottom="@dimen/normal_margin"
|
||||
android:paddingStart="@dimen/activity_margin"
|
||||
android:text="@string/note_shown_widget" />
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextView
|
||||
@ -48,6 +47,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/notes_picker_label"
|
||||
android:layout_marginStart="@dimen/activity_margin"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="@dimen/normal_margin"
|
||||
android:text="@string/general_note" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user