mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-24 02:51:34 -08:00
Checkboxes as Switches
This commit is contained in:
1 parent
9b2d9683eb
commit
045abc54fb
2 files changed
+12
-10
No files matched your search
@@ -129,15 +129,16 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatCheckBox
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/password_checkbox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="20dp"
|
||||
android:layout_alignTop="@+id/password_input_layout"
|
||||
android:layout_alignBottom="@+id/password_input_layout"
|
||||
android:layout_marginTop="8dp"
|
||||
android:contentDescription="@string/content_description_password_checkbox"
|
||||
android:focusable="false"
|
||||
android:layout_alignBottom="@+id/password_input_layout"
|
||||
android:gravity="center_vertical"/>
|
||||
android:gravity="center_vertical" />
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/password_input_layout"
|
||||
@@ -171,15 +172,16 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatCheckBox
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/keyfile_checkox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="20dp"
|
||||
android:layout_alignTop="@+id/keyfile_selection"
|
||||
android:layout_alignBottom="@+id/keyfile_selection"
|
||||
android:layout_marginTop="8dp"
|
||||
android:contentDescription="@string/content_description_keyfile_checkbox"
|
||||
android:focusable="false"
|
||||
android:layout_alignBottom="@+id/keyfile_selection"
|
||||
android:gravity="center_vertical"/>
|
||||
android:gravity="center_vertical" />
|
||||
|
||||
<com.kunzisoft.keepass.view.KeyFileSelectionView
|
||||
android:id="@+id/keyfile_selection"
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
android:layout_margin="@dimen/default_margin"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatCheckBox
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/password_checkbox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -128,7 +128,7 @@
|
||||
android:layout_margin="@dimen/default_margin"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatCheckBox
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/keyfile_checkox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
Reference in new issue
Block a user