mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Create SettingsFragment
This commit is contained in:
parent
6d080889ff
commit
0fe7a05731
12 changed files with 134 additions and 16 deletions
|
|
@ -1,23 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
>
|
||||
|
||||
<ListPreference
|
||||
android:key="defaultLicense"
|
||||
android:title="@string/preference_license"
|
||||
android:defaultValue="CC BY-SA"
|
||||
android:entries="@array/pref_defaultLicense_entries"
|
||||
android:entryValues="@array/pref_defaultLicense_values"
|
||||
android:defaultValue="@string/license_name_cc_by_sa_4_0"
|
||||
/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="allowGps"
|
||||
android:title="@string/allow_gps"
|
||||
android:defaultValue="false"
|
||||
android:summary="@string/allow_gps_summary"
|
||||
android:key="allowGps" />
|
||||
|
||||
<Preference android:title="@string/become_a_tester_title"
|
||||
android:summary="@string/become_a_tester_description">
|
||||
<intent android:action="android.intent.action.VIEW"
|
||||
android:data="@string/beta_opt_in_link" />
|
||||
</Preference>
|
||||
/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:title="@string/preference_theme"
|
||||
|
|
@ -25,5 +24,10 @@
|
|||
android:summary="@string/preference_theme_summary"
|
||||
android:key="theme" />
|
||||
|
||||
<Preference android:title="@string/become_a_tester_title"
|
||||
android:summary="@string/become_a_tester_description">
|
||||
<intent android:action="android.intent.action.VIEW"
|
||||
android:data="@string/beta_opt_in_link" />
|
||||
</Preference>
|
||||
|
||||
</PreferenceScreen>
|
||||
</PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue