mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Blurring spoiler post images is now available. Change spoiler and flair text background colors. Fixed collapsed comments shown after orientation change.
This commit is contained in:
9
app/src/main/res/drawable-night/ic_font_size_24dp.xml
Normal file
9
app/src/main/res/drawable-night/ic_font_size_24dp.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M9,4v3h5v12h3L17,7h5L22,4L9,4zM3,12h3v7h3v-7h3L12,9L3,9v3z"/>
|
||||
</vector>
|
9
app/src/main/res/drawable/ic_font_size_24dp.xml
Normal file
9
app/src/main/res/drawable/ic_font_size_24dp.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M9,4v3h5v12h3L17,7h5L22,4L9,4zM3,12h3v7h3v-7h3L12,9L3,9v3z"/>
|
||||
</vector>
|
@@ -204,8 +204,8 @@
|
||||
android:padding="4dp"
|
||||
android:visibility="gone"
|
||||
app:lib_setRadius="3dp"
|
||||
app:lib_setRoundedBGColor="@color/backgroundColorPrimaryDark"
|
||||
app:lib_setRoundedBorderColor="@color/backgroundColorPrimaryDark"
|
||||
app:lib_setRoundedBGColor="@color/spoilerBackgroundColor"
|
||||
app:lib_setRoundedBorderColor="@color/spoilerBackgroundColor"
|
||||
app:lib_setRoundedView="true"
|
||||
app:lib_setShape="rectangle" />
|
||||
|
||||
@@ -220,8 +220,8 @@
|
||||
android:padding="4dp"
|
||||
android:visibility="gone"
|
||||
app:lib_setRadius="3dp"
|
||||
app:lib_setRoundedBGColor="@color/backgroundColorPrimaryDark"
|
||||
app:lib_setRoundedBorderColor="@color/backgroundColorPrimaryDark"
|
||||
app:lib_setRoundedBGColor="@color/flairBackgroundColor"
|
||||
app:lib_setRoundedBorderColor="@color/flairBackgroundColor"
|
||||
app:lib_setRoundedView="true"
|
||||
app:lib_setShape="rectangle" />
|
||||
|
||||
|
@@ -209,7 +209,8 @@
|
||||
android:padding="4dp"
|
||||
android:visibility="gone"
|
||||
app:lib_setRadius="3dp"
|
||||
app:lib_setRoundedBorderColor="@color/colorPrimaryDarkDayNightTheme"
|
||||
app:lib_setRoundedBGColor="@color/spoilerBackgroundColor"
|
||||
app:lib_setRoundedBorderColor="@color/spoilerBackgroundColor"
|
||||
app:lib_setRoundedView="true"
|
||||
app:lib_setShape="rectangle" />
|
||||
|
||||
@@ -224,7 +225,8 @@
|
||||
android:textColor="@android:color/white"
|
||||
android:visibility="gone"
|
||||
app:lib_setRadius="3dp"
|
||||
app:lib_setRoundedBorderColor="@color/colorPrimaryDarkDayNightTheme"
|
||||
app:lib_setRoundedBGColor="@color/flairBackgroundColor"
|
||||
app:lib_setRoundedBorderColor="@color/flairBackgroundColor"
|
||||
app:lib_setRoundedView="true"
|
||||
app:lib_setShape="rectangle" />
|
||||
|
||||
|
@@ -90,7 +90,7 @@
|
||||
<item>Normal</item>
|
||||
<item>Large</item>
|
||||
<item>Extra Large</item>
|
||||
<item>Enormous Large</item>
|
||||
<item>Enormously Large</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="settings_content_font_size_values">
|
||||
|
@@ -75,4 +75,8 @@
|
||||
<color name="submitter">#EE8A02</color>
|
||||
|
||||
<color name="moderator">#00BA81</color>
|
||||
|
||||
<color name="spoilerBackgroundColor">#EE02EB</color>
|
||||
|
||||
<color name="flairBackgroundColor">#00AA8C</color>
|
||||
</resources>
|
||||
|
@@ -278,7 +278,8 @@
|
||||
<string name="settings_title_font_size_title">Title Font Size</string>
|
||||
<string name="settings_content_font_size_title">Content Font Size</string>
|
||||
<string name="settings_enable_nsfw_title">Enable NSFW</string>
|
||||
<string name="settings_blur_nsfw_title">Blur NSFW images</string>
|
||||
<string name="settings_blur_nsfw_title">Blur NSFW Images</string>
|
||||
<string name="settings_blur_spoiler_title">Blur Spoiler Images</string>
|
||||
<string name="settings_layout_no_limits_title">Display Under Navigation bar and Status Bar</string>
|
||||
<string name="settings_about_master_title">About</string>
|
||||
<string name="settings_acknowledgement_master_title">Acknowledgement</string>
|
||||
|
@@ -26,6 +26,7 @@
|
||||
|
||||
<Preference
|
||||
app:title="@string/settings_font_size_title"
|
||||
app:icon="@drawable/ic_font_size_24dp"
|
||||
app:fragment="Settings.FontSizePreferenceFragment" />
|
||||
|
||||
<SwitchPreference
|
||||
@@ -39,6 +40,11 @@
|
||||
app:title="@string/settings_blur_nsfw_title"
|
||||
app:isPreferenceVisible="false" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="blur_spoiler"
|
||||
app:title="@string/settings_blur_spoiler_title" />
|
||||
|
||||
<Preference
|
||||
app:title="@string/settings_about_master_title"
|
||||
app:fragment="Settings.AboutPreferenceFragment" />
|
||||
|
Reference in New Issue
Block a user