Infinity-For-Lemmy/app/src/main/res/xml/font_preferences.xml

81 lines
3.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontPreference
app:title="@string/settings_preview_font_title"
2023-07-15 13:06:29 +02:00
app:fragment="eu.toldi.infinityforlemmy.settings.FontPreviewFragment" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontPreferenceCategory
app:title="@string/settings_font_summary" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontListPreference
app:defaultValue="Default"
android:entries="@array/settings_font_family"
app:entryValues="@array/settings_font_family_values"
app:key="font_family"
app:title="@string/settings_font_family_title"
app:useSimpleSummaryProvider="true" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontPreference
2022-01-14 13:57:16 +01:00
app:title="@string/settings_custom_font_family_title"
app:key="custom_font_family"
app:isPreferenceVisible="false" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontListPreference
app:defaultValue="Normal"
android:entries="@array/settings_font_size"
app:entryValues="@array/settings_font_size_values"
app:key="font_size"
app:title="@string/settings_font_size_title"
app:useSimpleSummaryProvider="true" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontPreferenceCategory
app:title="@string/settings_title_font_summary" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontListPreference
app:defaultValue="Default"
android:entries="@array/settings_font_family"
app:entryValues="@array/settings_font_family_values"
app:key="title_font_family"
app:title="@string/settings_title_font_family_title"
app:useSimpleSummaryProvider="true" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontPreference
2022-01-14 13:57:16 +01:00
app:title="@string/settings_custom_title_font_family_title"
app:key="custom_title_font_family"
app:isPreferenceVisible="false" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontListPreference
app:defaultValue="Normal"
android:entries="@array/settings_title_font_size"
app:entryValues="@array/settings_title_font_size_values"
app:key="title_font_size"
app:title="@string/settings_title_font_size_title"
app:useSimpleSummaryProvider="true" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontPreferenceCategory
app:title="@string/settings_content_font_summary" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontListPreference
app:defaultValue="Default"
android:entries="@array/settings_font_family"
app:entryValues="@array/settings_font_family_values"
app:key="content_font_family"
app:title="@string/settings_content_font_family_title"
app:useSimpleSummaryProvider="true" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontPreference
2022-01-14 13:57:16 +01:00
app:title="@string/settings_custom_content_font_family_title"
app:key="custom_content_font_family"
app:isPreferenceVisible="false" />
2023-07-15 13:06:29 +02:00
<eu.toldi.infinityforlemmy.customviews.CustomFontListPreference
app:defaultValue="Normal"
android:entries="@array/settings_content_font_size"
app:entryValues="@array/settings_content_font_size_values"
app:key="content_font_size"
app:title="@string/settings_content_font_size_title"
app:useSimpleSummaryProvider="true" />
</PreferenceScreen>