Removed wrong string and settings layout capitalization item refactored
This commit is contained in:
parent
2ee861368b
commit
a25fececc9
|
@ -163,10 +163,10 @@ class SettingsActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
private fun setupSentencesCapitalization() {
|
||||
settings_enable_sentences_capitalization_row.isChecked = config.enableSentencesCapitalization
|
||||
settings_enable_capitalization_row_holder.setOnClickListener {
|
||||
settings_enable_sentences_capitalization_row.toggle()
|
||||
config.enableSentencesCapitalization = settings_enable_sentences_capitalization_row.isChecked
|
||||
settings_start_sentences_capitalised_row.isChecked = config.enableSentencesCapitalization
|
||||
settings_start_sentences_capitalised_holder.setOnClickListener {
|
||||
settings_start_sentences_capitalised_row.toggle()
|
||||
config.enableSentencesCapitalization = settings_start_sentences_capitalised_row.isChecked
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -207,17 +207,17 @@
|
|||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_enable_capitalization_row_holder"
|
||||
android:id="@+id/settings_start_sentences_capitalised_holder"
|
||||
style="@style/SettingsHolderCheckboxStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
|
||||
android:id="@+id/settings_enable_sentences_capitalization_row"
|
||||
android:id="@+id/settings_start_sentences_capitalised_row"
|
||||
style="@style/SettingsCheckboxStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/enable_sentences_capitalization" />
|
||||
android:text="@string/start_sentences_capitalised" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<string name="keyboard_height">Keyboard height</string>
|
||||
<string name="show_key_borders">Show key borders</string>
|
||||
<string name="show_numbers_row">Show numbers on a separate row</string>
|
||||
<string name="enable_sentences_capitalization">Capisalise the first word of each sentence</string>
|
||||
<string name="start_sentences_capitalised">Start sentences with a capital letter</string>
|
||||
<!-- Emojis -->
|
||||
<string name="emojis">Emojis</string>
|
||||
<!--
|
||||
|
|
Loading…
Reference in New Issue