diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-06-23 16:12:50 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-06-26 14:56:36 -0700 |
commit | 89d5c5a31bd6cf4caf815b680ec670896b91803d (patch) | |
tree | b9d0a9a9fd6dec880fb6076bc2b8d4f38870839f /res/values/attrs.xml | |
parent | bbe504d24d5e0757d1a7772af822b7a6e274c9b4 (diff) | |
download | android_packages_apps_Trebuchet-89d5c5a31bd6cf4caf815b680ec670896b91803d.tar.gz android_packages_apps_Trebuchet-89d5c5a31bd6cf4caf815b680ec670896b91803d.tar.bz2 android_packages_apps_Trebuchet-89d5c5a31bd6cf4caf815b680ec670896b91803d.zip |
Updating fast scrollbar UI in Landscape
Creating a separate view for FastScrollBar and moving all the relavant logic in
the view.
For protrait, the touch handling is delegated by the recycler view just like before.
For landscape, the dcrollbar does not overlay with recyclerView and handles the touch
itself
Bug: 37015359
Change-Id: Ie1981326457ba739bdf0ac8063db1065f395f133
Diffstat (limited to 'res/values/attrs.xml')
-rw-r--r-- | res/values/attrs.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 3839eb130..7b52dae5d 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -138,4 +138,8 @@ <attr name="android:elevation" /> <attr name="darkTintColor" format="color"/> </declare-styleable> + + <declare-styleable name="RecyclerViewFastScroller"> + <attr name="canThumbDetach" format="boolean" /> + </declare-styleable> </resources> |