summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-07-16 13:21:01 -0700
committerRomain Guy <romainguy@android.com>2009-07-16 16:06:48 -0700
commit1dd3a077a293bf3ac4e61e91dcc3dfc99487acd4 (patch)
treec9d861aa9f735392b25d402987acb312bc50b6c4 /res/drawable
parent68634c1c320bba0d9a49c2ad6ed78e244e89a57b (diff)
downloadandroid_packages_apps_Trebuchet-1dd3a077a293bf3ac4e61e91dcc3dfc99487acd4.tar.gz
android_packages_apps_Trebuchet-1dd3a077a293bf3ac4e61e91dcc3dfc99487acd4.tar.bz2
android_packages_apps_Trebuchet-1dd3a077a293bf3ac4e61e91dcc3dfc99487acd4.zip
New gestures UI.
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/btn_add.xml (renamed from res/drawable/btn_circle.xml)14
-rw-r--r--res/drawable/btn_circle_disable.pngbin938 -> 0 bytes
-rw-r--r--res/drawable/btn_circle_disable_focused.pngbin1436 -> 0 bytes
-rw-r--r--res/drawable/btn_circle_normal.pngbin1249 -> 0 bytes
-rw-r--r--res/drawable/btn_circle_pressed.pngbin1613 -> 0 bytes
-rw-r--r--res/drawable/btn_circle_selected.pngbin1645 -> 0 bytes
-rw-r--r--res/drawable/btn_g.xml26
-rw-r--r--res/drawable/btn_list.xml26
-rw-r--r--res/drawable/g_normal.pngbin0 -> 1408 bytes
-rw-r--r--res/drawable/g_pressed.pngbin0 -> 1784 bytes
-rw-r--r--res/drawable/g_selected.pngbin0 -> 1794 bytes
-rw-r--r--[-rwxr-xr-x]res/drawable/gestures_background.xml27
-rw-r--r--res/drawable/gestures_frame.9.pngbin0 -> 6582 bytes
-rw-r--r--res/drawable/ic_btn_round_plus.pngbin526 -> 0 bytes
-rw-r--r--res/drawable/list_normal.pngbin0 -> 1183 bytes
-rw-r--r--res/drawable/list_pressed.pngbin0 -> 1563 bytes
-rw-r--r--res/drawable/list_selected.pngbin0 -> 1603 bytes
-rw-r--r--res/drawable/plus_normal.pngbin0 -> 1218 bytes
-rw-r--r--res/drawable/plus_pressed.pngbin0 -> 1564 bytes
-rw-r--r--res/drawable/plus_selected.pngbin0 -> 1599 bytes
-rw-r--r--res/drawable/texture_paper.jpgbin989 -> 0 bytes
21 files changed, 69 insertions, 24 deletions
diff --git a/res/drawable/btn_circle.xml b/res/drawable/btn_add.xml
index 920801033..1345fd18a 100644
--- a/res/drawable/btn_circle.xml
+++ b/res/drawable/btn_add.xml
@@ -16,17 +16,11 @@
<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" />
+ android:drawable="@drawable/plus_normal" />
<item android:state_pressed="true"
- android:drawable="@drawable/btn_circle_pressed" />
+ android:drawable="@drawable/plus_pressed" />
<item android:state_focused="true" android:state_enabled="true"
- android:drawable="@drawable/btn_circle_selected" />
+ android:drawable="@drawable/plus_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" />
+ android:drawable="@drawable/plus_normal" />
</selector>
diff --git a/res/drawable/btn_circle_disable.png b/res/drawable/btn_circle_disable.png
deleted file mode 100644
index 33b74a66c..000000000
--- a/res/drawable/btn_circle_disable.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable/btn_circle_disable_focused.png b/res/drawable/btn_circle_disable_focused.png
deleted file mode 100644
index 005ad8dca..000000000
--- a/res/drawable/btn_circle_disable_focused.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable/btn_circle_normal.png b/res/drawable/btn_circle_normal.png
deleted file mode 100644
index fc5af1c9f..000000000
--- a/res/drawable/btn_circle_normal.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable/btn_circle_pressed.png b/res/drawable/btn_circle_pressed.png
deleted file mode 100644
index 8f40afdfc..000000000
--- a/res/drawable/btn_circle_pressed.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable/btn_circle_selected.png b/res/drawable/btn_circle_selected.png
deleted file mode 100644
index c74fac227..000000000
--- a/res/drawable/btn_circle_selected.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable/btn_g.xml b/res/drawable/btn_g.xml
new file mode 100644
index 000000000..d033b438f
--- /dev/null
+++ b/res/drawable/btn_g.xml
@@ -0,0 +1,26 @@
+<?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/g_normal" />
+ <item android:state_pressed="true"
+ android:drawable="@drawable/g_pressed" />
+ <item android:state_focused="true" android:state_enabled="true"
+ android:drawable="@drawable/g_selected" />
+ <item android:state_enabled="true"
+ android:drawable="@drawable/g_normal" />
+</selector>
diff --git a/res/drawable/btn_list.xml b/res/drawable/btn_list.xml
new file mode 100644
index 000000000..84a033ef8
--- /dev/null
+++ b/res/drawable/btn_list.xml
@@ -0,0 +1,26 @@
+<?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/list_normal" />
+ <item android:state_pressed="true"
+ android:drawable="@drawable/list_pressed" />
+ <item android:state_focused="true" android:state_enabled="true"
+ android:drawable="@drawable/list_selected" />
+ <item android:state_enabled="true"
+ android:drawable="@drawable/list_normal" />
+</selector>
diff --git a/res/drawable/g_normal.png b/res/drawable/g_normal.png
new file mode 100644
index 000000000..2ae97036b
--- /dev/null
+++ b/res/drawable/g_normal.png
Binary files differ
diff --git a/res/drawable/g_pressed.png b/res/drawable/g_pressed.png
new file mode 100644
index 000000000..13667dcbb
--- /dev/null
+++ b/res/drawable/g_pressed.png
Binary files differ
diff --git a/res/drawable/g_selected.png b/res/drawable/g_selected.png
new file mode 100644
index 000000000..faed865ab
--- /dev/null
+++ b/res/drawable/g_selected.png
Binary files differ
diff --git a/res/drawable/gestures_background.xml b/res/drawable/gestures_background.xml
index 34ec05145..59c11dc60 100755..100644
--- a/res/drawable/gestures_background.xml
+++ b/res/drawable/gestures_background.xml
@@ -1,20 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2009 Romain Guy
+<!-- 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
+ 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
+ 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.
+ 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" />
+<nine-patch xmlns:android="http://schemas.android.com/apk/res/android"
+ android:src="@drawable/gestures_frame"
+ android:dither="true" />
diff --git a/res/drawable/gestures_frame.9.png b/res/drawable/gestures_frame.9.png
new file mode 100644
index 000000000..c5f564063
--- /dev/null
+++ b/res/drawable/gestures_frame.9.png
Binary files differ
diff --git a/res/drawable/ic_btn_round_plus.png b/res/drawable/ic_btn_round_plus.png
deleted file mode 100644
index 1ec8a956a..000000000
--- a/res/drawable/ic_btn_round_plus.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable/list_normal.png b/res/drawable/list_normal.png
new file mode 100644
index 000000000..ee05949c7
--- /dev/null
+++ b/res/drawable/list_normal.png
Binary files differ
diff --git a/res/drawable/list_pressed.png b/res/drawable/list_pressed.png
new file mode 100644
index 000000000..8e3c68c86
--- /dev/null
+++ b/res/drawable/list_pressed.png
Binary files differ
diff --git a/res/drawable/list_selected.png b/res/drawable/list_selected.png
new file mode 100644
index 000000000..93858f435
--- /dev/null
+++ b/res/drawable/list_selected.png
Binary files differ
diff --git a/res/drawable/plus_normal.png b/res/drawable/plus_normal.png
new file mode 100644
index 000000000..ddc588807
--- /dev/null
+++ b/res/drawable/plus_normal.png
Binary files differ
diff --git a/res/drawable/plus_pressed.png b/res/drawable/plus_pressed.png
new file mode 100644
index 000000000..872f092a8
--- /dev/null
+++ b/res/drawable/plus_pressed.png
Binary files differ
diff --git a/res/drawable/plus_selected.png b/res/drawable/plus_selected.png
new file mode 100644
index 000000000..32c441f07
--- /dev/null
+++ b/res/drawable/plus_selected.png
Binary files differ
diff --git a/res/drawable/texture_paper.jpg b/res/drawable/texture_paper.jpg
deleted file mode 100644
index 27f4fd667..000000000
--- a/res/drawable/texture_paper.jpg
+++ /dev/null
Binary files differ