diff options
author | Winson Chung <winsonc@google.com> | 2015-03-23 14:45:54 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2015-03-24 10:30:05 -0700 |
commit | f819dc2bc782e93ac9ecc163a99af0da62821d31 (patch) | |
tree | 6f16811baf4d92944e4a3d148cf28a8dc78741fd /res/drawable-ldrtl | |
parent | 27959c30394f629e0c551e1c8dacaad8b42817a5 (diff) | |
download | android_packages_apps_Trebuchet-f819dc2bc782e93ac9ecc163a99af0da62821d31.tar.gz android_packages_apps_Trebuchet-f819dc2bc782e93ac9ecc163a99af0da62821d31.tar.bz2 android_packages_apps_Trebuchet-f819dc2bc782e93ac9ecc163a99af0da62821d31.zip |
Making the scrollbar scrubbable.
- This change in behavior will remove the ability to scrub anywhere in the gutter to
start fast-scrolling, but requires the user to touch near the scroll bar to start
fast-scrolling.
- Also fixes issue with wonky scrollbar due to the fake section breaks
Change-Id: I34b08ac46ea93f7f4cad7ccde1048a388ee6a55d
Diffstat (limited to 'res/drawable-ldrtl')
-rw-r--r-- | res/drawable-ldrtl/apps_list_fastscroll_bg.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/res/drawable-ldrtl/apps_list_fastscroll_bg.xml b/res/drawable-ldrtl/apps_list_fastscroll_bg.xml new file mode 100644 index 000000000..772975a71 --- /dev/null +++ b/res/drawable-ldrtl/apps_list_fastscroll_bg.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2015 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <solid android:color="@color/apps_view_scrollbar_thumb_color" /> + <size + android:width="64dp" + android:height="64dp" /> + <corners + android:topLeftRadius="64dp" + android:topRightRadius="64dp" + android:bottomRightRadius="64dp" /> +</shape>
\ No newline at end of file |