diff options
author | Daniel Sandler <dsandler@google.com> | 2010-03-02 14:08:08 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@google.com> | 2010-03-03 14:38:45 -0500 |
commit | 388f679aa448cb648241b89fefa29614a2e3758b (patch) | |
tree | 0cf21b927dbe7d0f3b2a8417991cc9235b2acdd0 /res/drawable | |
parent | 9f9077d2be9178e4dc7d99a6735d7db5c15885d1 (diff) | |
download | packages_apps_trebuchet-388f679aa448cb648241b89fefa29614a2e3758b.zip packages_apps_trebuchet-388f679aa448cb648241b89fefa29614a2e3758b.tar.gz packages_apps_trebuchet-388f679aa448cb648241b89fefa29614a2e3758b.tar.bz2 |
Introduce 2D All Apps and other support for sapphire-class devices.
AllAppsView is now the 2D, GridView-based version (very
similar to classic Launcher); AllApps3D is the
RenderScript/Rollo implementation.
TODO:
- some mdpi assets are not in fact mdpi
- related to above: static wallpapers not working yet
- add dynamic selection of 2D/3D AA; currently you must
choose one at build time by picking the appropriate class
in all_apps.xml (see separate CL for sapphire overlay
that does this)
Change-Id: I253d98404ea8a329a4049d2e48edd2e5129fa6ba
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/home_button.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/res/drawable/home_button.xml b/res/drawable/home_button.xml new file mode 100644 index 0000000..032989d --- /dev/null +++ b/res/drawable/home_button.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 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. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/home_button_pressed" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/home_button_focused" /> + <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/home_button_normal" /> + <item android:drawable="@drawable/home_button_normal" /> +</selector> + |