mirror of
https://gitlab.com/neothefox/LayTray
synced 2026-03-23 21:54:54 +03:00
Changed monitor settings from editable field to array
This commit is contained in:
parent
bc676caa5b
commit
687ceef17d
@ -11,7 +11,12 @@
|
|||||||
<string name="pref_header_general">General</string>
|
<string name="pref_header_general">General</string>
|
||||||
|
|
||||||
<string name="pref_title_default_app_name">App to monitor</string>
|
<string name="pref_title_default_app_name">App to monitor</string>
|
||||||
<string name="pref_default_app_name">com.blackberry.keyboard</string>
|
<string-array name="pref_default_app_name_list_titles">
|
||||||
|
<item>Blackberry Keyboard</item>
|
||||||
|
</string-array>
|
||||||
|
<string-array name="pref_default_app_name_list_values">
|
||||||
|
<item>com.blackberry.keyboard</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
<string name="pref_title_notification_importance">Notification importance</string>
|
<string name="pref_title_notification_importance">Notification importance</string>
|
||||||
<string-array name="pref_notification_importance_list_titles">
|
<string-array name="pref_notification_importance_list_titles">
|
||||||
|
|||||||
@ -1,10 +1,9 @@
|
|||||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<EditTextPreference
|
<ListPreference
|
||||||
android:defaultValue="@string/pref_default_app_name"
|
|
||||||
android:key="default_app_name"
|
android:key="default_app_name"
|
||||||
android:maxLines="1"
|
android:entryValues="@array/pref_default_app_name_list_values"
|
||||||
android:singleLine="true"
|
android:entries="@array/pref_default_app_name_list_titles"
|
||||||
android:title="@string/pref_title_default_app_name" />
|
android:title="@string/pref_title_default_app_name" />
|
||||||
|
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user