Changeset View
Changeset View
Standalone View
Standalone View
res/xml/mprisplugin_preferences.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
---|---|---|---|---|---|
2 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | android:layout_width="match_parent" | 3 | android:layout_width="match_parent" | ||
4 | android:layout_height="match_parent"> | 4 | android:layout_height="match_parent"> | ||
5 | 5 | | |||
6 | <ListPreference | 6 | <ListPreference | ||
7 | android:id="@+id/mpris_time_preference" | 7 | android:id="@+id/mpris_time_preference" | ||
8 | android:key="@string/mpris_time_key" | 8 | android:defaultValue="@string/mpris_time_default" | ||
9 | android:title="@string/mpris_time_settings_title" | | |||
10 | android:summary="@string/mpris_time_settings_summary" | | |||
11 | android:entries="@array/mpris_time_entries" | 9 | android:entries="@array/mpris_time_entries" | ||
12 | android:entryValues="@array/mpris_time_entries_values" | 10 | android:entryValues="@array/mpris_time_entries_values" | ||
13 | android:defaultValue="@string/mpris_time_default" /> | 11 | android:key="@string/mpris_time_key" | ||
12 | android:summary="@string/mpris_time_settings_summary" | ||||
13 | android:title="@string/mpris_time_settings_title" /> | ||||
14 | 14 | | |||
15 | <CheckBoxPreference | 15 | <CheckBoxPreference | ||
16 | android:id="@+id/mpris_notification_preference" | 16 | android:id="@+id/mpris_notification_preference" | ||
17 | android:defaultValue="true" | ||||
17 | android:key="@string/mpris_notification_key" | 18 | android:key="@string/mpris_notification_key" | ||
18 | android:title="@string/mpris_notification_settings_title" | | |||
19 | android:summary="@string/mpris_notification_settings_summary" | 19 | android:summary="@string/mpris_notification_settings_summary" | ||
20 | android:defaultValue="true" /> | 20 | android:title="@string/mpris_notification_settings_title" /> | ||
21 | 21 | | |||
22 | </PreferenceScreen> | 22 | </PreferenceScreen> |