diff options
author | Winson Chung <winsonc@google.com> | 2015-04-08 10:27:49 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2015-04-09 13:18:31 -0700 |
commit | 0f785720667ab8afe4b4620a6c333d382d8659ed (patch) | |
tree | 9bd5ddba76c5df2c700e05c7a1829e2fb4d14d92 /res/drawable | |
parent | 3f471440a8b6b71d4c15501a96befd3b715c9e8f (diff) | |
download | android_packages_apps_Trebuchet-0f785720667ab8afe4b4620a6c333d382d8659ed.tar.gz android_packages_apps_Trebuchet-0f785720667ab8afe4b4620a6c333d382d8659ed.tar.bz2 android_packages_apps_Trebuchet-0f785720667ab8afe4b4620a6c333d382d8659ed.zip |
Initial changes to support a fixed all-apps layout.
- Dynamically update padding and background depending on fixed bounds and searchbar
- Fixes issue with drag layer bg getting clobbered when rotating launcher
- Tapping outside the bounds of all apps should close all apps
- Fixing typo causing widgets to not show in sw720dp devices
Bug: 20127840
Change-Id: I29c3f905bdee940f938ffe054f58434887073092
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/apps_list_bg.xml | 10 | ||||
-rw-r--r-- | res/drawable/apps_list_search_bg.xml | 4 | ||||
-rw-r--r-- | res/drawable/apps_reveal_bg.xml | 9 | ||||
-rw-r--r-- | res/drawable/apps_reveal_bg_inset.xml | 21 | ||||
-rw-r--r-- | res/drawable/apps_search_bg.xml (renamed from res/drawable/apps_list_bg_inset.xml) | 4 |
5 files changed, 15 insertions, 33 deletions
diff --git a/res/drawable/apps_list_bg.xml b/res/drawable/apps_list_bg.xml index 64177c16b..0e56684b5 100644 --- a/res/drawable/apps_list_bg.xml +++ b/res/drawable/apps_list_bg.xml @@ -14,7 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. --> -<inset xmlns:android="http://schemas.android.com/apk/res/android" - android:drawable="@drawable/apps_list_bg_inset" - android:insetLeft="@dimen/apps_container_inset" - android:insetRight="@dimen/apps_container_inset" />
\ No newline at end of file +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <solid android:color="#ffffff" /> + <corners + android:radius="2dp" /> +</shape>
\ No newline at end of file diff --git a/res/drawable/apps_list_search_bg.xml b/res/drawable/apps_list_search_bg.xml index eda33a918..63c4d5591 100644 --- a/res/drawable/apps_list_search_bg.xml +++ b/res/drawable/apps_list_search_bg.xml @@ -18,6 +18,6 @@ android:shape="rectangle"> <solid android:color="#ffffff" /> <corners - android:topLeftRadius="3dp" - android:topRightRadius="3dp" /> + android:bottomLeftRadius="2dp" + android:bottomRightRadius="2dp" /> </shape>
\ No newline at end of file diff --git a/res/drawable/apps_reveal_bg.xml b/res/drawable/apps_reveal_bg.xml index 47c608f85..07505a596 100644 --- a/res/drawable/apps_reveal_bg.xml +++ b/res/drawable/apps_reveal_bg.xml @@ -14,7 +14,8 @@ See the License for the specific language governing permissions and limitations under the License. --> -<inset xmlns:android="http://schemas.android.com/apk/res/android" - android:drawable="@drawable/apps_reveal_bg_inset" - android:insetLeft="@dimen/apps_container_inset" - android:insetRight="@dimen/apps_container_inset" />
\ No newline at end of file +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <solid android:color="#ffffff" /> + <corners android:radius="2dp" /> +</shape>
\ No newline at end of file diff --git a/res/drawable/apps_reveal_bg_inset.xml b/res/drawable/apps_reveal_bg_inset.xml deleted file mode 100644 index 61f1c083a..000000000 --- a/res/drawable/apps_reveal_bg_inset.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="#ffffff" /> - <corners android:radius="3dp" /> -</shape>
\ No newline at end of file diff --git a/res/drawable/apps_list_bg_inset.xml b/res/drawable/apps_search_bg.xml index 5ea78952f..405e8447c 100644 --- a/res/drawable/apps_list_bg_inset.xml +++ b/res/drawable/apps_search_bg.xml @@ -18,6 +18,6 @@ android:shape="rectangle"> <solid android:color="#ffffff" /> <corners - android:bottomLeftRadius="3dp" - android:bottomRightRadius="3dp" /> + android:topLeftRadius="2dp" + android:topRightRadius="2dp" /> </shape>
\ No newline at end of file |