diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-12-26 00:05:04 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-12-26 00:05:04 +0000 |
commit | b74fc9354c12df9ca03448a04df21c1fcc2b8d4e (patch) | |
tree | 8d73d2f1ded6569b60e3e8c6483764a365af64ca /app/src/main/res/layout | |
parent | 24b33bb05ddb90ed7c0fcd654d6e7b1add50819d (diff) | |
download | infinity-for-reddit-b74fc9354c12df9ca03448a04df21c1fcc2b8d4e.tar infinity-for-reddit-b74fc9354c12df9ca03448a04df21c1fcc2b8d4e.tar.gz infinity-for-reddit-b74fc9354c12df9ca03448a04df21c1fcc2b8d4e.tar.bz2 infinity-for-reddit-b74fc9354c12df9ca03448a04df21c1fcc2b8d4e.tar.lz infinity-for-reddit-b74fc9354c12df9ca03448a04df21c1fcc2b8d4e.tar.xz infinity-for-reddit-b74fc9354c12df9ca03448a04df21c1fcc2b8d4e.tar.zst infinity-for-reddit-b74fc9354c12df9ca03448a04df21c1fcc2b8d4e.zip |
New option in fab: go to top.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/fragment_fab_more_options_bottom_sheet.xml | 19 |
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 3fd3c62b..62947feb 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 @@ -201,6 +201,25 @@ android:focusable="true" android:background="?attr/selectableItemBackground" /> + <TextView + android:id="@+id/go_to_top_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/go_to_top" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="?attr/font_family" + app:drawableStartCompat="@drawable/ic_keyboard_double_arrow_up_24" + android:drawablePadding="48dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground" /> + </LinearLayout> </androidx.core.widget.NestedScrollView>
\ No newline at end of file |