mirror of
https://github.com/woheller69/solxpect.git
synced 2026-02-03 15:11:49 +01:00
first version solarCast
This commit is contained in:
commit
da720ba6dc
471 changed files with 10774 additions and 0 deletions
47
app/src/main/res/xml/pref_general.xml
Normal file
47
app/src/main/res/xml/pref_general.xml
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory android:title="@string/settings_title_display_options">
|
||||
|
||||
<SeekBarPreference
|
||||
android:key="pref_number_days"
|
||||
android:title="@string/settings_forecast_days"
|
||||
android:max="16"
|
||||
android:defaultValue="8"
|
||||
app:showSeekBarValue="true"
|
||||
/>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="pref_TimeFormat"
|
||||
android:title="@string/settings_time24h"
|
||||
android:summary="@string/summary_time24h"
|
||||
android:defaultValue="true"
|
||||
/>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="pref_DarkMode"
|
||||
android:title="@string/settings_darkmode"
|
||||
android:defaultValue="false"
|
||||
/>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="pref_debug"
|
||||
android:title="Debug"
|
||||
android:defaultValue="false"
|
||||
/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
<PreferenceCategory android:title="@string/settings_intervals">
|
||||
<ListPreference
|
||||
app:useSimpleSummaryProvider="true"
|
||||
android:defaultValue="1"
|
||||
android:entries="@array/refreshIntervalArray"
|
||||
android:entryValues="@array/refreshIntervalValues"
|
||||
android:key="pref_updateInterval"
|
||||
android:summary="@string/settings_interval_summary"
|
||||
android:title="@string/settings_update_interval" />
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue