mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-05 01:47:24 +00:00
Updated settings layout
This commit is contained in:
parent
15b9343b4f
commit
ba90132ce2
1 changed files with 87 additions and 103 deletions
|
|
@ -5,22 +5,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:allowDividerAbove="false"
|
app:allowDividerAbove="false"
|
||||||
app:title="Shortcuts">
|
app:title="General UI">
|
||||||
<ListPreference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:defaultValue="4"
|
|
||||||
app:entries="@array/shortcut_options"
|
|
||||||
app:entryValues="@array/shortcut_options"
|
|
||||||
app:key="shortcutNo"
|
|
||||||
app:title="Number of Shortcuts"
|
|
||||||
app:useSimpleSummaryProvider="true" />
|
|
||||||
</PreferenceCategory>
|
|
||||||
<PreferenceCategory
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:allowDividerAbove="false"
|
|
||||||
app:title="Colors">
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
@ -39,11 +24,27 @@
|
||||||
app:key="textColor"
|
app:key="textColor"
|
||||||
app:title="Text Color"
|
app:title="Text Color"
|
||||||
app:useSimpleSummaryProvider="true" />
|
app:useSimpleSummaryProvider="true" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:defaultValue="false"
|
||||||
|
android:title="Show Status Bar"
|
||||||
|
app:key="barVisibility" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
app:allowDividerAbove="false"
|
app:allowDividerAbove="false"
|
||||||
app:title="Alignment">
|
app:title="Home Screen">
|
||||||
|
<ListPreference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
app:defaultValue="4"
|
||||||
|
app:entries="@array/shortcut_options"
|
||||||
|
app:entryValues="@array/shortcut_options"
|
||||||
|
app:key="shortcutNo"
|
||||||
|
app:title="Number of Shortcuts"
|
||||||
|
app:useSimpleSummaryProvider="true" />
|
||||||
<ListPreference
|
<ListPreference
|
||||||
app:defaultValue="left"
|
app:defaultValue="left"
|
||||||
app:entries="@array/h_alignment_options"
|
app:entries="@array/h_alignment_options"
|
||||||
|
|
@ -51,39 +52,6 @@
|
||||||
app:key="clockAlignment"
|
app:key="clockAlignment"
|
||||||
app:title="Clock Alignment"
|
app:title="Clock Alignment"
|
||||||
app:useSimpleSummaryProvider="true" />
|
app:useSimpleSummaryProvider="true" />
|
||||||
<ListPreference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:defaultValue="left"
|
|
||||||
app:entries="@array/h_alignment_options"
|
|
||||||
app:entryValues="@array/h_alignment_values"
|
|
||||||
app:key="shortcutAlignment"
|
|
||||||
app:title="Shortcut Alignment"
|
|
||||||
app:useSimpleSummaryProvider="true" />
|
|
||||||
<ListPreference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:defaultValue="left"
|
|
||||||
app:entries="@array/h_alignment_options"
|
|
||||||
app:entryValues="@array/h_alignment_values"
|
|
||||||
app:key="appMenuAlignment"
|
|
||||||
app:title="App Menu Alignment"
|
|
||||||
app:useSimpleSummaryProvider="true" />
|
|
||||||
<ListPreference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:defaultValue="left"
|
|
||||||
app:entries="@array/h_alignment_options"
|
|
||||||
app:entryValues="@array/h_alignment_values"
|
|
||||||
app:key="searchAlignment"
|
|
||||||
app:title="Search Alignment"
|
|
||||||
app:useSimpleSummaryProvider="true" />
|
|
||||||
|
|
||||||
</PreferenceCategory>
|
|
||||||
|
|
||||||
<PreferenceCategory
|
|
||||||
app:allowDividerAbove="false"
|
|
||||||
app:title="Dimensions">
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
@ -102,6 +70,15 @@
|
||||||
app:key="dateSize"
|
app:key="dateSize"
|
||||||
app:title="Date Size"
|
app:title="Date Size"
|
||||||
app:useSimpleSummaryProvider="true" />
|
app:useSimpleSummaryProvider="true" />
|
||||||
|
<ListPreference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
app:defaultValue="left"
|
||||||
|
app:entries="@array/h_alignment_options"
|
||||||
|
app:entryValues="@array/h_alignment_values"
|
||||||
|
app:key="shortcutAlignment"
|
||||||
|
app:title="Shortcut Alignment"
|
||||||
|
app:useSimpleSummaryProvider="true" />
|
||||||
<ListPreference
|
<ListPreference
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
@ -111,80 +88,12 @@
|
||||||
app:key="shortcutSize"
|
app:key="shortcutSize"
|
||||||
app:title="Shortcut Size"
|
app:title="Shortcut Size"
|
||||||
app:useSimpleSummaryProvider="true" />
|
app:useSimpleSummaryProvider="true" />
|
||||||
<ListPreference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:defaultValue="medium"
|
|
||||||
app:entries="@array/size_options"
|
|
||||||
app:entryValues="@array/size_values"
|
|
||||||
app:key="appMenuSize"
|
|
||||||
app:title="App Menu Size"
|
|
||||||
app:useSimpleSummaryProvider="true" />
|
|
||||||
<ListPreference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:defaultValue="medium"
|
|
||||||
app:entries="@array/size_options"
|
|
||||||
app:entryValues="@array/size_values"
|
|
||||||
app:key="searchSize"
|
|
||||||
app:title="Search Size"
|
|
||||||
app:useSimpleSummaryProvider="true" />
|
|
||||||
</PreferenceCategory>
|
|
||||||
<PreferenceCategory
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:allowDividerAbove="false"
|
|
||||||
app:title="System Bars">
|
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
android:title="Show Status Bar"
|
android:title="Battery Indicator"
|
||||||
app:key="barVisibility" />
|
app:key="battery_enabled" />
|
||||||
</PreferenceCategory>
|
|
||||||
<PreferenceCategory
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:allowDividerAbove="false"
|
|
||||||
app:title="Gestures">
|
|
||||||
<SwitchPreference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:defaultValue="false"
|
|
||||||
android:title="Swipe Left"
|
|
||||||
app:key="leftSwipe" />
|
|
||||||
<Preference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:dependency="leftSwipe"
|
|
||||||
app:key="leftSwipeApp"
|
|
||||||
app:selectable="true"
|
|
||||||
app:title="Left Swipe App" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:defaultValue="false"
|
|
||||||
android:title="Swipe Right"
|
|
||||||
app:key="rightSwipe" />
|
|
||||||
<Preference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:dependency="rightSwipe"
|
|
||||||
app:key="rightSwipeApp"
|
|
||||||
app:selectable="true"
|
|
||||||
app:title="Right Swipe App" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:defaultValue="false"
|
|
||||||
android:title="Double Tap to Lock Screen"
|
|
||||||
app:key="doubleTap" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:defaultValue="false"
|
|
||||||
android:title="Automatically Open Keyboard"
|
|
||||||
app:key="autoKeyboard" />
|
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|
@ -226,14 +135,89 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:allowDividerAbove="false"
|
app:allowDividerAbove="false"
|
||||||
app:title="Battery">
|
app:title="Gestures">
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
android:title="Battery Indicator"
|
android:title="Swipe Left"
|
||||||
app:key="battery_enabled" />
|
app:key="leftSwipe" />
|
||||||
|
<Preference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
app:dependency="leftSwipe"
|
||||||
|
app:key="leftSwipeApp"
|
||||||
|
app:selectable="true"
|
||||||
|
app:title="Left Swipe App" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:defaultValue="false"
|
||||||
|
android:title="Swipe Right"
|
||||||
|
app:key="rightSwipe" />
|
||||||
|
<Preference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
app:dependency="rightSwipe"
|
||||||
|
app:key="rightSwipeApp"
|
||||||
|
app:selectable="true"
|
||||||
|
app:title="Right Swipe App" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:defaultValue="false"
|
||||||
|
android:title="Double Tap to Lock Screen"
|
||||||
|
app:key="doubleTap" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
<PreferenceCategory
|
||||||
|
app:allowDividerAbove="false"
|
||||||
|
app:title="Application Menu">
|
||||||
|
|
||||||
|
<ListPreference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
app:defaultValue="left"
|
||||||
|
app:entries="@array/h_alignment_options"
|
||||||
|
app:entryValues="@array/h_alignment_values"
|
||||||
|
app:key="appMenuAlignment"
|
||||||
|
app:title="App Menu Alignment"
|
||||||
|
app:useSimpleSummaryProvider="true" />
|
||||||
|
<ListPreference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
app:defaultValue="left"
|
||||||
|
app:entries="@array/h_alignment_options"
|
||||||
|
app:entryValues="@array/h_alignment_values"
|
||||||
|
app:key="searchAlignment"
|
||||||
|
app:title="Search Alignment"
|
||||||
|
app:useSimpleSummaryProvider="true" />
|
||||||
|
<ListPreference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
app:defaultValue="medium"
|
||||||
|
app:entries="@array/size_options"
|
||||||
|
app:entryValues="@array/size_values"
|
||||||
|
app:key="appMenuSize"
|
||||||
|
app:title="App Menu Size"
|
||||||
|
app:useSimpleSummaryProvider="true" />
|
||||||
|
<ListPreference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
app:defaultValue="medium"
|
||||||
|
app:entries="@array/size_options"
|
||||||
|
app:entryValues="@array/size_values"
|
||||||
|
app:key="searchSize"
|
||||||
|
app:title="Search Size"
|
||||||
|
app:useSimpleSummaryProvider="true" />
|
||||||
|
<SwitchPreference
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:defaultValue="false"
|
||||||
|
android:title="Automatically Open Keyboard"
|
||||||
|
app:key="autoKeyboard" />
|
||||||
|
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue