Skip to content

Commit

Permalink
[Feature] Reduce touch target size for fast scroll thumb.
Browse files Browse the repository at this point in the history
So that it conflicts much less with the popup menu button.
  • Loading branch information
zhanghai committed Sep 15, 2023
1 parent b0987f1 commit 0d65ef1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,7 @@
<dimen name="file_list_toolbar_padding_start">8dp</dimen>
<dimen name="file_list_toolbar_padding_end_no_overflow">14dp</dimen>
<dimen name="file_list_toolbar_padding_end_with_overflow">10dp</dimen>

<!-- Reduce fast scroll thumb touch target size because we have the popup menu beside it. -->
<dimen name="afs_min_touch_target_size">24dp</dimen>
</resources>

0 comments on commit 0d65ef1

Please sign in to comment.