diff options
author | Winson <winsonc@google.com> | 2016-07-11 18:59:18 -0700 |
---|---|---|
committer | Peter Schiller <peterschiller@google.com> | 2016-07-12 12:16:26 -0700 |
commit | b655b8850064cc4f8e59652b4e3bffc09090769a (patch) | |
tree | 35903c193119dbea9f704ad0449f45398ffd1d3e /res/drawable/all_apps_divider.xml | |
parent | 7ed42af3398c1764424ebbf2dd6e2a51e05eaf5f (diff) | |
download | android_packages_apps_Trebuchet-b655b8850064cc4f8e59652b4e3bffc09090769a.tar.gz android_packages_apps_Trebuchet-b655b8850064cc4f8e59652b4e3bffc09090769a.tar.bz2 android_packages_apps_Trebuchet-b655b8850064cc4f8e59652b4e3bffc09090769a.zip |
Cleaning up scrollbar logic to properly calculate stable extents.
- Removing old logic which assumed that views were the same size,
especially now we can have variable dividers, etc.
- Simplifying old scroll position logic.
- Removing unnecessary prediction icon layout (same as normal icon)
Bug: 30023608
Change-Id: I39e1126fa586a76a9bdd3ff38cd6e360ac3021e6
Diffstat (limited to 'res/drawable/all_apps_divider.xml')
-rw-r--r-- | res/drawable/all_apps_divider.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/res/drawable/all_apps_divider.xml b/res/drawable/all_apps_divider.xml new file mode 100644 index 000000000..3fe529556 --- /dev/null +++ b/res/drawable/all_apps_divider.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2016 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_divider_color" /> + <size android:height="1dp" /> +</shape>
\ No newline at end of file |