mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-11 21:58:35 -05:00
Improve Account settings -> notifications layout.
It makes no sense to display ringtone and vibration as children, but not doing that for the vibration pattern and length. As double indention is not available, un-indent ringtone and vibration and indent the vibration parameters instead.
This commit is contained in:
parent
5d713ace01
commit
f27fc78922
@ -359,7 +359,6 @@
|
|||||||
See com.fsck.k9.activity.setup.AccountSettings
|
See com.fsck.k9.activity.setup.AccountSettings
|
||||||
-->
|
-->
|
||||||
<RingtonePreference
|
<RingtonePreference
|
||||||
android:layout="?android:attr/preferenceLayoutChild"
|
|
||||||
android:dependency="account_notify"
|
android:dependency="account_notify"
|
||||||
android:key="account_ringtone"
|
android:key="account_ringtone"
|
||||||
android:title="@string/account_settings_ringtone"
|
android:title="@string/account_settings_ringtone"
|
||||||
@ -368,7 +367,6 @@
|
|||||||
|
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:persistent="false"
|
android:persistent="false"
|
||||||
android:layout="?android:attr/preferenceLayoutChild"
|
|
||||||
android:dependency="account_notify"
|
android:dependency="account_notify"
|
||||||
android:key="account_vibrate"
|
android:key="account_vibrate"
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
@ -377,6 +375,7 @@
|
|||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
android:persistent="false"
|
android:persistent="false"
|
||||||
|
android:layout="?android:attr/preferenceLayoutChild"
|
||||||
android:dependency="account_vibrate"
|
android:dependency="account_vibrate"
|
||||||
android:key="account_vibrate_pattern"
|
android:key="account_vibrate_pattern"
|
||||||
android:title="@string/account_settings_vibrate_pattern_label"
|
android:title="@string/account_settings_vibrate_pattern_label"
|
||||||
@ -386,6 +385,7 @@
|
|||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
android:persistent="false"
|
android:persistent="false"
|
||||||
|
android:layout="?android:attr/preferenceLayoutChild"
|
||||||
android:dependency="account_vibrate"
|
android:dependency="account_vibrate"
|
||||||
android:key="account_vibrate_times"
|
android:key="account_vibrate_times"
|
||||||
android:title="@string/account_settings_vibrate_times"
|
android:title="@string/account_settings_vibrate_times"
|
||||||
|
Loading…
Reference in New Issue
Block a user