mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
New options: Hide subreddit and user prefix and hide the number of votes.
This commit is contained in:
@@ -28,6 +28,22 @@
|
||||
android:textSize="?attr/font_default"
|
||||
android:fontFamily="?attr/font_family" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/card_layout_2_text_view_post_layout_bottom_sheet_fragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:paddingStart="32dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingEnd="32dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:text="@string/post_layout_card_2"
|
||||
android:textColor="?attr/primaryTextColor"
|
||||
android:textSize="?attr/font_default"
|
||||
android:fontFamily="?attr/font_family" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/compact_layout_text_view_post_layout_bottom_sheet_fragment"
|
||||
android:layout_width="match_parent"
|
||||
@@ -60,22 +76,6 @@
|
||||
android:textSize="?attr/font_default"
|
||||
android:fontFamily="?attr/font_family" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/card_layout_2_text_view_post_layout_bottom_sheet_fragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:paddingStart="32dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingEnd="32dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:text="@string/post_layout_card_2"
|
||||
android:textColor="?attr/primaryTextColor"
|
||||
android:textSize="?attr/font_default"
|
||||
android:fontFamily="?attr/font_family" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.core.widget.NestedScrollView>
|
@@ -537,6 +537,8 @@
|
||||
<string name="settings_click_to_show_media_in_gallery_layout">Click to Show Media in Gallery Layout</string>
|
||||
<string name="settings_hide_post_type">Hide Post Type</string>
|
||||
<string name="settings_hide_the_number_of_awards">Hide the Number of Awards</string>
|
||||
<string name="settings_hide_subreddit_and_user_prefix">Hide Subreddit and User Prefix</string>
|
||||
<string name="settings_hide_the_number_of_votes">Hide the Number of Votes</string>
|
||||
|
||||
<string name="no_link_available">Cannot get the link</string>
|
||||
|
||||
@@ -1024,7 +1026,7 @@
|
||||
|
||||
<string name="have_trouble_login_title">Having Trouble Login</string>
|
||||
<string name="have_trouble_login_message">Do you want to try another way to login?</string>
|
||||
<!-- TODO: Remove or change this placeholder text -->
|
||||
<string name="hello_blank_fragment">Hello blank fragment</string>
|
||||
|
||||
<string name="vote">Vote</string>
|
||||
|
||||
</resources>
|
||||
|
@@ -24,6 +24,16 @@
|
||||
app:key="hide_the_number_of_awards"
|
||||
app:title="@string/settings_hide_the_number_of_awards" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="hide_subreddit_and_user_prefix"
|
||||
app:title="@string/settings_hide_subreddit_and_user_prefix" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="hide_the_number_of_votes"
|
||||
app:title="@string/settings_hide_the_number_of_votes" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="@string/post_layout_compact" />
|
||||
|
||||
|
Reference in New Issue
Block a user