diff options
author | Winson Chung <winsonc@google.com> | 2015-06-16 13:35:04 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2015-06-23 14:24:15 -0700 |
commit | b1777447d9b9700b48f8060f8b318f2363c43e8d (patch) | |
tree | a5b94ed9b83316765b73265b4c030e40ed0bf4c9 /res/drawable | |
parent | e5106b687f6978bb8bb11ec90d7e8924a1b9e795 (diff) | |
download | android_packages_apps_Trebuchet-b1777447d9b9700b48f8060f8b318f2363c43e8d.tar.gz android_packages_apps_Trebuchet-b1777447d9b9700b48f8060f8b318f2363c43e8d.tar.bz2 android_packages_apps_Trebuchet-b1777447d9b9700b48f8060f8b318f2363c43e8d.zip |
Refactoring fast scroller.
- Fixing issue with fast scroller not fitting name width.
- Refactoring fast scrolling/scroll bar code out of base recycler view
- Adding animations to fast scroller to match design
- Smooth scrolling when jumping between app rows
- Fixing issue with fast scroller jumping when you first pick it up
- Fixing issue with wrong background paddings being used
Bug: 21874346
Bug: 22031923
Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/all_apps_scrollbar_thumb.xml | 21 | ||||
-rw-r--r-- | res/drawable/container_fastscroll_popup_bg.xml (renamed from res/drawable/all_apps_fastscroll_bg.xml) | 2 |
2 files changed, 1 insertions, 22 deletions
diff --git a/res/drawable/all_apps_scrollbar_thumb.xml b/res/drawable/all_apps_scrollbar_thumb.xml deleted file mode 100644 index 649a963b1..000000000 --- a/res/drawable/all_apps_scrollbar_thumb.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?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/all_apps_scrollbar_thumb_color" /> - <size android:width="@dimen/all_apps_fast_scroll_bar_width" /> -</shape>
\ No newline at end of file diff --git a/res/drawable/all_apps_fastscroll_bg.xml b/res/drawable/container_fastscroll_popup_bg.xml index 6b7448459..2ef07ab96 100644 --- a/res/drawable/all_apps_fastscroll_bg.xml +++ b/res/drawable/container_fastscroll_popup_bg.xml @@ -16,7 +16,7 @@ --> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> - <solid android:color="@color/all_apps_scrollbar_thumb_color" /> + <solid android:color="@color/container_fastscroll_thumb_active_color" /> <size android:width="64dp" android:height="64dp" /> |