aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-12-08 07:12:56 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-12-08 07:12:56 +0000
commita6975f2489119a0e0cc278fcdee8cead97978b14 (patch)
tree5f3a9d318a499f06bb778ed22d9680ccb2abf356 /app/src/main/res/layout
parent69af53ddbabfa4d2b3cd6f4e1fb49dc0a697aa23 (diff)
downloadinfinity-for-reddit-a6975f2489119a0e0cc278fcdee8cead97978b14.tar
infinity-for-reddit-a6975f2489119a0e0cc278fcdee8cead97978b14.tar.gz
infinity-for-reddit-a6975f2489119a0e0cc278fcdee8cead97978b14.tar.bz2
infinity-for-reddit-a6975f2489119a0e0cc278fcdee8cead97978b14.tar.lz
infinity-for-reddit-a6975f2489119a0e0cc278fcdee8cead97978b14.tar.xz
infinity-for-reddit-a6975f2489119a0e0cc278fcdee8cead97978b14.tar.zst
infinity-for-reddit-a6975f2489119a0e0cc278fcdee8cead97978b14.zip
Hide read posts in MainActivity (there is an issue in lazy mode).
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/fragment_fab_more_options_bottom_sheet.xml19
1 files changed, 19 insertions, 0 deletions
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 92ef8b02..6a0773b2 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
@@ -163,6 +163,25 @@
android:focusable="true"
android:background="?attr/selectableItemBackground" />
+ <TextView
+ android:id="@+id/hide_read_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/hide_read_posts"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
+ app:drawableStartCompat="@drawable/ic_hide_read_posts_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