mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 02:21:14 +01:00
876515f1fd
This commit refactors code and implements a custom device specific string filter, which does nothing by default. The implementation in HuamiSupport does the custom emoji conversion. The setting has been moved from devicesettings_amazfitbip.xml to an extra file As soon as there is a custom font for Mi Band 2/3/4 it is sufficient to add "devicesettings_custom_emoji_font.xml" to the list of supported settings in the appropriate coordinator and everything will work.
21 lines
1010 B
XML
21 lines
1010 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<MultiSelectListPreference
|
|
android:icon="@drawable/ic_widgets"
|
|
android:defaultValue="@array/pref_bip_display_items_default"
|
|
android:dialogTitle="@string/mi2_prefs_display_items"
|
|
android:entries="@array/pref_bip_display_items"
|
|
android:entryValues="@array/pref_bip_display_items_values"
|
|
android:key="display_items"
|
|
android:summary="@string/mi2_prefs_display_items_summary"
|
|
android:title="@string/mi2_prefs_display_items" />
|
|
<ListPreference
|
|
android:icon="@drawable/ic_language"
|
|
android:defaultValue="auto"
|
|
android:entries="@array/pref_amazfitbip_language"
|
|
android:entryValues="@array/pref_amazfitbip_language_values"
|
|
android:key="language"
|
|
android:summary="%s"
|
|
android:title="@string/pref_title_language" />
|
|
</androidx.preference.PreferenceScreen>
|