diff options
author | Romain Guy <romainguy@android.com> | 2009-06-09 12:57:21 -0700 |
---|---|---|
committer | Romain Guy <romainguy@android.com> | 2009-06-10 02:21:15 -0700 |
commit | 73b979d8c141c7ceac82dad7c5b271a6a42afa67 (patch) | |
tree | 1d73ba2b6d72282b116f2130b9f58536e46fd27f /res/drawable | |
parent | cbb89e4fc253a5fc3f24162dfb4e29fc6a815c2b (diff) | |
download | packages_apps_trebuchet-73b979d8c141c7ceac82dad7c5b271a6a42afa67.zip packages_apps_trebuchet-73b979d8c141c7ceac82dad7c5b271a6a42afa67.tar.gz packages_apps_trebuchet-73b979d8c141c7ceac82dad7c5b271a6a42afa67.tar.bz2 |
Add gestures to Home.
Press the Home key while in Home to enable the gestures pad.
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/btn_circle.xml | 32 | ||||
-rw-r--r-- | res/drawable/btn_circle_disable.png | bin | 0 -> 938 bytes | |||
-rw-r--r-- | res/drawable/btn_circle_disable_focused.png | bin | 0 -> 1436 bytes | |||
-rw-r--r-- | res/drawable/btn_circle_normal.png | bin | 0 -> 1249 bytes | |||
-rw-r--r-- | res/drawable/btn_circle_pressed.png | bin | 0 -> 1613 bytes | |||
-rw-r--r-- | res/drawable/btn_circle_selected.png | bin | 0 -> 1645 bytes | |||
-rwxr-xr-x | res/drawable/gestures_background.xml | 20 | ||||
-rw-r--r-- | res/drawable/ic_btn_round_plus.png | bin | 0 -> 526 bytes | |||
-rw-r--r-- | res/drawable/texture_paper.jpg | bin | 0 -> 989 bytes |
9 files changed, 52 insertions, 0 deletions
diff --git a/res/drawable/btn_circle.xml b/res/drawable/btn_circle.xml new file mode 100644 index 0000000..9208010 --- /dev/null +++ b/res/drawable/btn_circle.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 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_window_focused="false" android:state_enabled="true" + android:drawable="@drawable/btn_circle_normal" /> + <item android:state_window_focused="false" android:state_enabled="false" + android:drawable="@drawable/btn_circle_disable" /> + <item android:state_pressed="true" + android:drawable="@drawable/btn_circle_pressed" /> + <item android:state_focused="true" android:state_enabled="true" + android:drawable="@drawable/btn_circle_selected" /> + <item android:state_enabled="true" + android:drawable="@drawable/btn_circle_normal" /> + <item android:state_focused="true" + android:drawable="@drawable/btn_circle_disable_focused" /> + <item + android:drawable="@drawable/btn_circle_disable" /> +</selector> diff --git a/res/drawable/btn_circle_disable.png b/res/drawable/btn_circle_disable.png Binary files differnew file mode 100644 index 0000000..33b74a6 --- /dev/null +++ b/res/drawable/btn_circle_disable.png diff --git a/res/drawable/btn_circle_disable_focused.png b/res/drawable/btn_circle_disable_focused.png Binary files differnew file mode 100644 index 0000000..005ad8d --- /dev/null +++ b/res/drawable/btn_circle_disable_focused.png diff --git a/res/drawable/btn_circle_normal.png b/res/drawable/btn_circle_normal.png Binary files differnew file mode 100644 index 0000000..fc5af1c --- /dev/null +++ b/res/drawable/btn_circle_normal.png diff --git a/res/drawable/btn_circle_pressed.png b/res/drawable/btn_circle_pressed.png Binary files differnew file mode 100644 index 0000000..8f40afd --- /dev/null +++ b/res/drawable/btn_circle_pressed.png diff --git a/res/drawable/btn_circle_selected.png b/res/drawable/btn_circle_selected.png Binary files differnew file mode 100644 index 0000000..c74fac2 --- /dev/null +++ b/res/drawable/btn_circle_selected.png diff --git a/res/drawable/gestures_background.xml b/res/drawable/gestures_background.xml new file mode 100755 index 0000000..34ec051 --- /dev/null +++ b/res/drawable/gestures_background.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2009 Romain Guy + + 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. +--> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/texture_paper" + android:tileMode="repeat" /> diff --git a/res/drawable/ic_btn_round_plus.png b/res/drawable/ic_btn_round_plus.png Binary files differnew file mode 100644 index 0000000..1ec8a95 --- /dev/null +++ b/res/drawable/ic_btn_round_plus.png diff --git a/res/drawable/texture_paper.jpg b/res/drawable/texture_paper.jpg Binary files differnew file mode 100644 index 0000000..27f4fd6 --- /dev/null +++ b/res/drawable/texture_paper.jpg |