diff options
author | Adam Cohen <adamcohen@google.com> | 2010-08-10 22:11:35 -0700 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2010-08-11 10:46:55 -0700 |
commit | da4dc5edd82a40c3950fc8221c6363b9826204aa (patch) | |
tree | 79195b37b940ae2e26ee8fa8245fcb70796468f6 /res/drawable-xlarge | |
parent | a67e867db9d639ed2afcc97e9d04a67fc46f2669 (diff) | |
download | packages_apps_trebuchet-da4dc5edd82a40c3950fc8221c6363b9826204aa.zip packages_apps_trebuchet-da4dc5edd82a40c3950fc8221c6363b9826204aa.tar.gz packages_apps_trebuchet-da4dc5edd82a40c3950fc8221c6363b9826204aa.tar.bz2 |
-> Set grid to 8x7 with proper spacing for landscape/portrait
-> Added a button to the top left of Launcher which switches
between landscape and portrait. For testing purposes only.
Change-Id: I01f8cfcf92c8ba7727eeba0e59a0b8ff055598fe
Diffstat (limited to 'res/drawable-xlarge')
-rw-r--r-- | res/drawable-xlarge/rotate_button.xml | 20 | ||||
-rw-r--r-- | res/drawable-xlarge/rotate_button_normal.png | bin | 0 -> 6252 bytes | |||
-rw-r--r-- | res/drawable-xlarge/rotate_button_pressed.png | bin | 0 -> 6388 bytes |
3 files changed, 20 insertions, 0 deletions
diff --git a/res/drawable-xlarge/rotate_button.xml b/res/drawable-xlarge/rotate_button.xml new file mode 100644 index 0000000..c29efa4 --- /dev/null +++ b/res/drawable-xlarge/rotate_button.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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/rotate_button_pressed" /> + <item android:drawable="@drawable/rotate_button_normal" /> +</selector> diff --git a/res/drawable-xlarge/rotate_button_normal.png b/res/drawable-xlarge/rotate_button_normal.png Binary files differnew file mode 100644 index 0000000..fd014aa --- /dev/null +++ b/res/drawable-xlarge/rotate_button_normal.png diff --git a/res/drawable-xlarge/rotate_button_pressed.png b/res/drawable-xlarge/rotate_button_pressed.png Binary files differnew file mode 100644 index 0000000..29fb8d9 --- /dev/null +++ b/res/drawable-xlarge/rotate_button_pressed.png |