OmniGears: power menu config rework
put animation setting on top
and make setup more save
Change-Id: Ib3ab8321d96591b4881a072bfab90811cbfb0652
diff --git a/res/xml/global_actions.xml b/res/xml/global_actions.xml
index 0e5c439..75d5092 100644
--- a/res/xml/global_actions.xml
+++ b/res/xml/global_actions.xml
@@ -19,9 +19,22 @@
android:key="global_actions"
android:title="@string/global_actions_title">
- <Preference
- android:summary="@string/global_actions_header"
- android:selectable="false" />
+ <PreferenceCategory
+ android:key="global_actions_anim"
+ android:title="@string/global_actions_anim" >
+ <ListPreference
+ android:key="power_menu_animations"
+ android:title="@string/power_menu_animation_title"
+ android:dialogTitle="@string/power_menu_animation_dialog_title"
+ android:entries="@array/power_menu_animations_entries"
+ android:entryValues="@array/power_menu_animations_values"
+ android:summary="@string/power_menu_animation_summary"
+ android:persistent="false" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="global_actions_list"
+ android:title="@string/global_actions_header" >
<SwitchPreference
android:key="power"
@@ -71,16 +84,5 @@
android:key="dnd"
android:title="@string/global_actions_dnd_title"
android:persistent="false" />
- <PreferenceCategory
- android:key="global_actions_anim"
- android:title="@string/global_actions_anim" >
- <ListPreference
- android:key="power_menu_animations"
- android:title="@string/power_menu_animation_title"
- android:dialogTitle="@string/power_menu_animation_dialog_title"
- android:entries="@array/power_menu_animations_entries"
- android:entryValues="@array/power_menu_animations_values"
- android:summary="@string/power_menu_animation_summary"
- android:persistent="false" />
</PreferenceCategory>
</PreferenceScreen>