mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
New option in FAB: Filter Posts. Add Gif option in PostFilter.
This commit is contained in:
@@ -133,6 +133,36 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/post_type_gif_linear_layout_customize_post_filter_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingStart="32dp"
|
||||
android:paddingEnd="8dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:background="?attr/selectableItemBackground">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/post_type_gif_text_view_customize_post_filter_activity"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="@string/post_type_gif"
|
||||
android:fontFamily="?attr/font_default"
|
||||
android:textSize="?attr/font_default" />
|
||||
|
||||
<com.google.android.material.checkbox.MaterialCheckBox
|
||||
android:id="@+id/post_type_gif_check_box_customize_post_filter_activity"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/post_type_video_linear_layout_customize_post_filter_activity"
|
||||
android:layout_width="match_parent"
|
||||
|
@@ -26,6 +26,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="?attr/actionBarSize"
|
||||
app:subtitle="@string/filtered_posts_activity_subtitle"
|
||||
app:popupTheme="@style/AppTheme.PopupOverlay"
|
||||
app:navigationIcon="?attr/homeAsUpIndicator" />
|
||||
|
||||
|
@@ -182,6 +182,25 @@
|
||||
android:focusable="true"
|
||||
android:background="?attr/selectableItemBackground" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/filter_posts_text_view_fab_more_options_bottom_sheet_fragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:paddingStart="32dp"
|
||||
android:paddingEnd="32dp"
|
||||
android:text="@string/filter_posts"
|
||||
android:textColor="?attr/primaryTextColor"
|
||||
android:textSize="?attr/font_default"
|
||||
android:fontFamily="?attr/font_family"
|
||||
app:drawableStartCompat="@drawable/ic_filter_24dp"
|
||||
android:drawablePadding="48dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:background="?attr/selectableItemBackground" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.core.widget.NestedScrollView>
|
@@ -35,6 +35,7 @@
|
||||
<string name="give_award_activity_label">Give Award</string>
|
||||
<string name="subreddit_filter_popular_and_all_activity_label">r/all and r/popular</string>
|
||||
<string name="customize_post_filter_activity_label">Post Filter</string>
|
||||
<string name="filtered_posts_activity_subtitle">Filtered Posts</string>
|
||||
|
||||
<string name="navigation_drawer_open">Open navigation drawer</string>
|
||||
<string name="navigation_drawer_close">Close navigation drawer</string>
|
||||
@@ -199,6 +200,7 @@
|
||||
<string name="bottom_sheet_post_link">Link</string>
|
||||
<string name="bottom_sheet_post_image">Image</string>
|
||||
<string name="bottom_sheet_post_video">Video</string>
|
||||
<string name="post_type_gif">Gif</string>
|
||||
<string name="post_type_gallery">Gallery</string>
|
||||
|
||||
<string name="select_from_gallery">Select a picture</string>
|
||||
@@ -952,6 +954,7 @@
|
||||
<string name="select_video_quality">Select Video Quality</string>
|
||||
|
||||
<string name="hide_read_posts">Hide Read Posts</string>
|
||||
<string name="filter_posts">Filter Posts</string>
|
||||
|
||||
<string name="only_nsfw">Only NSFW</string>
|
||||
<string name="only_spoiler">Only Spoiler</string>
|
||||
|
Reference in New Issue
Block a user