mirror of
https://github.com/FossifyOrg/Keyboard.git
synced 2026-05-24 22:35:23 -04:00
Replace checkboxes with switches
See https://github.com/orgs/FossifyOrg/discussions/78
This commit is contained in:
@@ -80,13 +80,13 @@
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_use_english_holder"
|
||||
style="@style/SettingsHolderCheckboxStyle"
|
||||
style="@style/SettingsHolderSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
||||
<org.fossify.commons.views.MyMaterialSwitch
|
||||
android:id="@+id/settings_use_english"
|
||||
style="@style/SettingsCheckboxStyle"
|
||||
style="@style/SettingsSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/use_english_language" />
|
||||
@@ -167,13 +167,13 @@
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_vibrate_on_keypress_holder"
|
||||
style="@style/SettingsHolderCheckboxStyle"
|
||||
style="@style/SettingsHolderSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
||||
<org.fossify.commons.views.MyMaterialSwitch
|
||||
android:id="@+id/settings_vibrate_on_keypress"
|
||||
style="@style/SettingsCheckboxStyle"
|
||||
style="@style/SettingsSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/vibrate_on_keypress" />
|
||||
@@ -182,13 +182,13 @@
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_show_popup_on_keypress_holder"
|
||||
style="@style/SettingsHolderCheckboxStyle"
|
||||
style="@style/SettingsHolderSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
||||
<org.fossify.commons.views.MyMaterialSwitch
|
||||
android:id="@+id/settings_show_popup_on_keypress"
|
||||
style="@style/SettingsCheckboxStyle"
|
||||
style="@style/SettingsSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/show_popup" />
|
||||
@@ -197,13 +197,13 @@
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_show_key_borders_holder"
|
||||
style="@style/SettingsHolderCheckboxStyle"
|
||||
style="@style/SettingsHolderSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
||||
<org.fossify.commons.views.MyMaterialSwitch
|
||||
android:id="@+id/settings_show_key_borders"
|
||||
style="@style/SettingsCheckboxStyle"
|
||||
style="@style/SettingsSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/show_key_borders" />
|
||||
@@ -212,13 +212,13 @@
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_show_numbers_row_holder"
|
||||
style="@style/SettingsHolderCheckboxStyle"
|
||||
style="@style/SettingsHolderSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
||||
<org.fossify.commons.views.MyMaterialSwitch
|
||||
android:id="@+id/settings_show_numbers_row"
|
||||
style="@style/SettingsCheckboxStyle"
|
||||
style="@style/SettingsSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/show_numbers_row" />
|
||||
@@ -227,13 +227,13 @@
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_start_sentences_capitalized_holder"
|
||||
style="@style/SettingsHolderCheckboxStyle"
|
||||
style="@style/SettingsHolderSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
||||
<org.fossify.commons.views.MyMaterialSwitch
|
||||
android:id="@+id/settings_start_sentences_capitalized"
|
||||
style="@style/SettingsCheckboxStyle"
|
||||
style="@style/SettingsSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/start_sentences_capitalized" />
|
||||
@@ -315,13 +315,13 @@
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_show_clipboard_content_holder"
|
||||
style="@style/SettingsHolderCheckboxStyle"
|
||||
style="@style/SettingsHolderSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<org.fossify.commons.views.MyAppCompatCheckbox
|
||||
<org.fossify.commons.views.MyMaterialSwitch
|
||||
android:id="@+id/settings_show_clipboard_content"
|
||||
style="@style/SettingsCheckboxStyle"
|
||||
style="@style/SettingsSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/show_clipboard_content" />
|
||||
|
||||
Reference in New Issue
Block a user