1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-11 13:49:15 -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:
Danny Baumann 2013-01-19 12:49:16 +01:00
parent 5d713ace01
commit f27fc78922

View File

@ -359,7 +359,6 @@
See com.fsck.k9.activity.setup.AccountSettings
-->
<RingtonePreference
android:layout="?android:attr/preferenceLayoutChild"
android:dependency="account_notify"
android:key="account_ringtone"
android:title="@string/account_settings_ringtone"
@ -368,7 +367,6 @@
<CheckBoxPreference
android:persistent="false"
android:layout="?android:attr/preferenceLayoutChild"
android:dependency="account_notify"
android:key="account_vibrate"
android:defaultValue="false"
@ -377,6 +375,7 @@
<ListPreference
android:persistent="false"
android:layout="?android:attr/preferenceLayoutChild"
android:dependency="account_vibrate"
android:key="account_vibrate_pattern"
android:title="@string/account_settings_vibrate_pattern_label"
@ -386,6 +385,7 @@
<ListPreference
android:persistent="false"
android:layout="?android:attr/preferenceLayoutChild"
android:dependency="account_vibrate"
android:key="account_vibrate_times"
android:title="@string/account_settings_vibrate_times"