mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-05 18:07:25 +00:00
Added weather conditions, fixed the thread for finding locations and added options to disable weather and battery indicators.
This commit is contained in:
parent
dfc08513f5
commit
71af6d7d49
8 changed files with 121 additions and 460 deletions
|
|
@ -138,15 +138,23 @@
|
|||
android:layout_height="wrap_content"
|
||||
app:allowDividerAbove="false"
|
||||
app:title="Weather">
|
||||
<SwitchPreference
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:defaultValue="false"
|
||||
android:title="Weather"
|
||||
app:key="weather_enabled" />
|
||||
<SwitchPreference
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:defaultValue="false"
|
||||
android:title="GPS Location"
|
||||
app:dependency="weather_enabled"
|
||||
app:key="gps_location" />
|
||||
<Preference
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:dependency="weather_enabled"
|
||||
app:key="manual_location"
|
||||
app:selectable="true"
|
||||
app:title="Set Manual Location" />
|
||||
|
|
@ -154,6 +162,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:defaultValue="celsius"
|
||||
app:dependency="weather_enabled"
|
||||
app:entries="@array/temp_units"
|
||||
app:entryValues="@array/unit_values"
|
||||
app:key="tempUnits"
|
||||
|
|
@ -172,5 +181,17 @@
|
|||
app:selectable="true"
|
||||
app:title="Manage Hidden Apps" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:allowDividerAbove="false"
|
||||
app:title="Battery">
|
||||
<SwitchPreference
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:defaultValue="false"
|
||||
android:title="Battery Indicator"
|
||||
app:key="battery_enabled" />
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue