diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-05-20 15:35:32 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-05-21 16:26:15 -0700 |
commit | 2805e639cdea6ae0051155611d122ed27556e658 (patch) | |
tree | 300ac21b2edc7aa392f4e8de1f2194d2900dd971 /res | |
parent | 0a45b58e107b25af41a99d16fc10277ea90f07c0 (diff) | |
download | android_packages_apps_Trebuchet-2805e639cdea6ae0051155611d122ed27556e658.tar.gz android_packages_apps_Trebuchet-2805e639cdea6ae0051155611d122ed27556e658.tar.bz2 android_packages_apps_Trebuchet-2805e639cdea6ae0051155611d122ed27556e658.zip |
Animating workspace active background change
> Removing workspace_overscroll_drawable_padding which is always 0
Change-Id: I89900738371458a6eb7cbfee215d98b267d6a0b0
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable/bg_screenpanel.xml | 26 | ||||
-rw-r--r-- | res/values/dimens.xml | 1 |
2 files changed, 26 insertions, 1 deletions
diff --git a/res/drawable/bg_screenpanel.xml b/res/drawable/bg_screenpanel.xml new file mode 100644 index 000000000..cdb71dfa1 --- /dev/null +++ b/res/drawable/bg_screenpanel.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 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. +*/ +--> + +<transition xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:drawable="@drawable/screenpanel"/> + <item android:drawable="@drawable/screenpanel_hover"/> + +</transition>
\ No newline at end of file diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 60591e14a..3e5fe3a83 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -43,7 +43,6 @@ <!-- Workspace --> <dimen name="workspace_max_gap">16dp</dimen> - <dimen name="workspace_overscroll_drawable_padding">0dp</dimen> <!-- QSB --> <dimen name="toolbar_button_vertical_padding">4dip</dimen> |