diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-12-22 15:56:20 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-12-22 15:56:20 +0000 |
commit | efa960013ac2cbf3909e8f8867a1b9e2dd2791f2 (patch) | |
tree | 993f6b809d0b3b8a5f73814ab487c81a542772bd /app/src/main/res/layout | |
parent | 71a7852c79f145a27b9d22a7ce56540ec2d45831 (diff) | |
download | infinity-for-reddit-efa960013ac2cbf3909e8f8867a1b9e2dd2791f2.tar infinity-for-reddit-efa960013ac2cbf3909e8f8867a1b9e2dd2791f2.tar.gz infinity-for-reddit-efa960013ac2cbf3909e8f8867a1b9e2dd2791f2.tar.bz2 infinity-for-reddit-efa960013ac2cbf3909e8f8867a1b9e2dd2791f2.tar.lz infinity-for-reddit-efa960013ac2cbf3909e8f8867a1b9e2dd2791f2.tar.xz infinity-for-reddit-efa960013ac2cbf3909e8f8867a1b9e2dd2791f2.tar.zst infinity-for-reddit-efa960013ac2cbf3909e8f8867a1b9e2dd2791f2.zip |
New option in FAB: Filter Posts. Add Gif option in PostFilter.
Diffstat (limited to 'app/src/main/res/layout')
3 files changed, 50 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_customize_post_filter.xml b/app/src/main/res/layout/activity_customize_post_filter.xml index 571f9509..72aeb6bc 100644 --- a/app/src/main/res/layout/activity_customize_post_filter.xml +++ b/app/src/main/res/layout/activity_customize_post_filter.xml @@ -134,6 +134,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" android:layout_height="wrap_content" diff --git a/app/src/main/res/layout/activity_filtered_thing.xml b/app/src/main/res/layout/activity_filtered_thing.xml index 59b857af..5aa0207b 100644 --- a/app/src/main/res/layout/activity_filtered_thing.xml +++ b/app/src/main/res/layout/activity_filtered_thing.xml @@ -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" /> diff --git a/app/src/main/res/layout/fragment_fab_more_options_bottom_sheet.xml b/app/src/main/res/layout/fragment_fab_more_options_bottom_sheet.xml index 6a0773b2..3fd3c62b 100644 --- a/app/src/main/res/layout/fragment_fab_more_options_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_fab_more_options_bottom_sheet.xml @@ -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>
\ No newline at end of file |