mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
This app now has an icon (finally)git statusgit statusgit status Add a credits page in settings. Use another error view and no comment placeholder.
This commit is contained in:
13
app/src/main/res/xml/about_preferences.xml
Normal file
13
app/src/main/res/xml/about_preferences.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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">
|
||||
|
||||
<Preference
|
||||
app:title="@string/settings_acknowledgement_master_title"
|
||||
app:fragment="Settings.AcknowledgementFragment" />
|
||||
|
||||
<Preference
|
||||
app:title="@string/settings_credits_master_title"
|
||||
app:fragment="Settings.CreditsPreferenceFragment" />
|
||||
|
||||
</PreferenceScreen>
|
44
app/src/main/res/xml/credits_preferences.xml
Normal file
44
app/src/main/res/xml/credits_preferences.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?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">
|
||||
|
||||
<Preference
|
||||
android:key="icon_foreground"
|
||||
app:title="@string/settings_credits_icon_foreground_title"
|
||||
android:summary="@string/settings_credits_icon_foreground_summary" />
|
||||
|
||||
<Preference
|
||||
android:key="icon_background"
|
||||
app:title="@string/settings_credits_icon_background_title"
|
||||
android:summary="@string/settings_credits_icon_background_summary" />
|
||||
|
||||
<Preference
|
||||
android:key="error_image"
|
||||
app:title="@string/settings_credits_error_image_title"
|
||||
android:summary="@string/settings_credits_error_image_summary" />
|
||||
|
||||
<Preference
|
||||
android:key="subreddit_and_user_placeholder"
|
||||
app:title="@string/settings_credits_subreddit_and_user_placeholder_title"
|
||||
android:summary="@string/settings_credits_subreddit_and_user_placeholder_summary" />
|
||||
|
||||
<Preference
|
||||
android:key="gilded_icon"
|
||||
app:title="@string/settings_credits_gilded_icon_title"
|
||||
android:summary="@string/settings_credits_gilded_icon_summary" />
|
||||
|
||||
<Preference
|
||||
android:key="crosspost_icon"
|
||||
app:title="@string/settings_credits_crosspost_icon_title"
|
||||
android:summary="@string/settings_credits_crosspost_icon_summary" />
|
||||
|
||||
<Preference
|
||||
android:key="thumbtack_icon"
|
||||
app:title="@string/settings_credits_thumbtack_icon_title"
|
||||
android:summary="@string/settings_credits_thumbtack_icon_summary" />
|
||||
|
||||
<Preference
|
||||
android:key="material_icons"
|
||||
app:title="@string/settings_credits_material_icons_title"/>
|
||||
|
||||
</PreferenceScreen>
|
@@ -3,7 +3,6 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<Preference
|
||||
app:key="notification_master"
|
||||
app:icon="@drawable/ic_outline_notifications_24px"
|
||||
app:title="@string/settings_notification_master_title"
|
||||
app:fragment="Settings.NotificationPreferenceFragment" />
|
||||
@@ -31,8 +30,7 @@
|
||||
app:title="@string/settings_enable_nsfw_title"/>
|
||||
|
||||
<Preference
|
||||
app:key="acknowledgement_master"
|
||||
app:title="@string/settings_acknowledgement_master_title"
|
||||
app:fragment="Settings.AcknowledgementFragment" />
|
||||
app:title="@string/settings_about_master_title"
|
||||
app:fragment="Settings.AboutPreferenceFragment" />
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
Reference in New Issue
Block a user