aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-11-17 15:41:58 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-11-17 15:41:58 +0000
commitb997963808a418948e46841c406f03deafd21f94 (patch)
treea428768a4d35a8e5299b83925c5ac104c41f2e3c /app/src/main/res/layout
parentee60cbf640df8386bd7ffab0508edff9c283fdbd (diff)
downloadinfinity-for-reddit-b997963808a418948e46841c406f03deafd21f94.tar
infinity-for-reddit-b997963808a418948e46841c406f03deafd21f94.tar.gz
infinity-for-reddit-b997963808a418948e46841c406f03deafd21f94.tar.bz2
infinity-for-reddit-b997963808a418948e46841c406f03deafd21f94.tar.lz
infinity-for-reddit-b997963808a418948e46841c406f03deafd21f94.tar.xz
infinity-for-reddit-b997963808a418948e46841c406f03deafd21f94.tar.zst
infinity-for-reddit-b997963808a418948e46841c406f03deafd21f94.zip
Add a Fab to scroll down parent comments. Use volume up and down keys to navigate parent comments.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_view_post_detail.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_view_post_detail.xml b/app/src/main/res/layout/activity_view_post_detail.xml
index eb48f340..98794359 100644
--- a/app/src/main/res/layout/activity_view_post_detail.xml
+++ b/app/src/main/res/layout/activity_view_post_detail.xml
@@ -70,4 +70,14 @@
</LinearLayout>
+ <com.google.android.material.floatingactionbutton.FloatingActionButton
+ android:id="@+id/fab_view_post_detail_activity"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|end"
+ android:layout_margin="@dimen/fab_margin"
+ app:backgroundTint="@color/backgroundColorPrimary"
+ app:tint="@android:color/white"
+ app:srcCompat="@drawable/ic_keyboard_arrow_down_24dp" />
+
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file