mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Disabling immersive mode (content shown under status bar and nav bar) is now available.
This commit is contained in:
@@ -95,7 +95,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:gravity="center"
|
||||
android:textSize="?attr/font_default"
|
||||
android:textSize="?attr/font_12"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toEndOf="@+id/up_vote_button_item_post_comment"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"/>
|
||||
|
@@ -24,8 +24,6 @@
|
||||
|
||||
<color name="roundedBottomSheetPrimaryBackground">#242424</color>
|
||||
|
||||
<color name="roundedBottomSheetPrimaryNavigationBarColor">@color/roundedBottomSheetPrimaryBackground</color>
|
||||
|
||||
<color name="voteAndReplyUnavailableVoteButtonColor">#3C3C3C</color>
|
||||
|
||||
<color name="tabLayoutWithExpandedCollapsingToolbarTextColor">#FFFFFF</color>
|
||||
|
4
app/src/main/res/values-v27/colors.xml
Normal file
4
app/src/main/res/values-v27/colors.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="roundedBottomSheetPrimaryNavigationBarColor">@color/roundedBottomSheetPrimaryBackground</color>
|
||||
</resources>
|
@@ -24,7 +24,7 @@
|
||||
|
||||
<color name="roundedBottomSheetPrimaryBackground">#FFFFFF</color>
|
||||
|
||||
<color name="roundedBottomSheetPrimaryNavigationBarColor">@color/roundedBottomSheetPrimaryBackground</color>
|
||||
<color name="roundedBottomSheetPrimaryNavigationBarColor">@android:color/black</color>
|
||||
|
||||
<color name="upvoted">#E91E63</color>
|
||||
|
||||
|
@@ -274,6 +274,7 @@
|
||||
<string name="settings_theme_dark_theme_summary">Dark Theme</string>
|
||||
<string name="settings_theme_system_default_summary">Device default</string>
|
||||
<string name="settings_amoled_dark_title">Amoled Dark</string>
|
||||
<string name="settings_immersive_interface_title">Immersive Interface</string>
|
||||
<string name="settings_lazy_mode_interval_title">Lazy Mode Interval</string>
|
||||
<string name="settings_font_size_title">Font Size</string>
|
||||
<string name="settings_title_font_size_title">Title Font Size</string>
|
||||
|
@@ -20,6 +20,12 @@
|
||||
app:key="amoled_dark"
|
||||
app:title="@string/settings_amoled_dark_title" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="true"
|
||||
app:key="immersive_interface"
|
||||
app:title="@string/settings_immersive_interface_title"
|
||||
app:isPreferenceVisible="false" />
|
||||
|
||||
<ListPreference
|
||||
app:defaultValue="2.5"
|
||||
android:entries="@array/settings_lazy_mode_interval"
|
||||
|
Reference in New Issue
Block a user