mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-05 01:47:24 +00:00
Moving settings to a better method
This commit is contained in:
parent
0079c060b1
commit
f602ae569f
9 changed files with 648 additions and 546 deletions
58
app/src/main/res/xml/root_preferences.xml
Normal file
58
app/src/main/res/xml/root_preferences.xml
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory app:title="Alignment">
|
||||
|
||||
<ListPreference
|
||||
app:defaultValue="left"
|
||||
app:entries="@array/h_alignment_options"
|
||||
app:entryValues="@array/h_alignment_values"
|
||||
app:key="clockAlignment"
|
||||
app:title="Clock 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="shortcutAlignment"
|
||||
app:title="Home App 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="aappMenuAlignment"
|
||||
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:title="@string/sync_header">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:key="sync"
|
||||
app:title="@string/sync_title" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:dependency="sync"
|
||||
app:key="attachment"
|
||||
app:summaryOff="@string/attachment_summary_off"
|
||||
app:summaryOn="@string/attachment_summary_on"
|
||||
app:title="@string/attachment_title" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue