diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | c8f00b61c600927ab404c84686d4472e9b527976 (patch) | |
tree | cb28d653b31d6a23067bb0f9de18fa7dc6e3ac37 /res | |
download | android_packages_apps_Trebuchet-c8f00b61c600927ab404c84686d4472e9b527976.tar.gz android_packages_apps_Trebuchet-c8f00b61c600927ab404c84686d4472e9b527976.tar.bz2 android_packages_apps_Trebuchet-c8f00b61c600927ab404c84686d4472e9b527976.zip |
Initial Contribution
Diffstat (limited to 'res')
107 files changed, 1144 insertions, 0 deletions
diff --git a/res/color/bright_text_dark_focused.xml b/res/color/bright_text_dark_focused.xml new file mode 100644 index 000000000..4beb72c3d --- /dev/null +++ b/res/color/bright_text_dark_focused.xml @@ -0,0 +1,24 @@ +<?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_window_focused="true" android:state_focused="true" android:color="#000" /> + <item android:state_window_focused="false" android:state_focused="true" android:color="#FFF" /> + <item android:state_window_focused="false" android:color="#FFF" /> + <item android:state_selected="true" android:color="#000" /> + <item android:state_pressed="true" android:color="#000" /> + <item android:color="#FFF" /> +</selector> diff --git a/res/drawable-land/delete_handle.png b/res/drawable-land/delete_handle.png Binary files differnew file mode 100644 index 000000000..5784c26fe --- /dev/null +++ b/res/drawable-land/delete_handle.png diff --git a/res/drawable-land/delete_handle_normal.png b/res/drawable-land/delete_handle_normal.png Binary files differnew file mode 100644 index 000000000..d3a8dbaf7 --- /dev/null +++ b/res/drawable-land/delete_handle_normal.png diff --git a/res/drawable-land/ic_delete.png b/res/drawable-land/ic_delete.png Binary files differnew file mode 100644 index 000000000..58871fdad --- /dev/null +++ b/res/drawable-land/ic_delete.png diff --git a/res/drawable-land/ic_tray_collapse.png b/res/drawable-land/ic_tray_collapse.png Binary files differnew file mode 100644 index 000000000..15c625748 --- /dev/null +++ b/res/drawable-land/ic_tray_collapse.png diff --git a/res/drawable-land/ic_tray_expand.png b/res/drawable-land/ic_tray_expand.png Binary files differnew file mode 100644 index 000000000..38836af7c --- /dev/null +++ b/res/drawable-land/ic_tray_expand.png diff --git a/res/drawable-land/search_bg.9.png b/res/drawable-land/search_bg.9.png Binary files differnew file mode 100644 index 000000000..9b11d4236 --- /dev/null +++ b/res/drawable-land/search_bg.9.png diff --git a/res/drawable-land/tray_handle_normal.png b/res/drawable-land/tray_handle_normal.png Binary files differnew file mode 100644 index 000000000..93b85976f --- /dev/null +++ b/res/drawable-land/tray_handle_normal.png diff --git a/res/drawable-land/tray_handle_pressed.png b/res/drawable-land/tray_handle_pressed.png Binary files differnew file mode 100644 index 000000000..e2cae0e82 --- /dev/null +++ b/res/drawable-land/tray_handle_pressed.png diff --git a/res/drawable-land/tray_handle_selected.png b/res/drawable-land/tray_handle_selected.png Binary files differnew file mode 100644 index 000000000..106c8f41e --- /dev/null +++ b/res/drawable-land/tray_handle_selected.png diff --git a/res/drawable-port/delete_handle.png b/res/drawable-port/delete_handle.png Binary files differnew file mode 100644 index 000000000..9ce092411 --- /dev/null +++ b/res/drawable-port/delete_handle.png diff --git a/res/drawable-port/delete_handle_normal.png b/res/drawable-port/delete_handle_normal.png Binary files differnew file mode 100644 index 000000000..1f0a7acae --- /dev/null +++ b/res/drawable-port/delete_handle_normal.png diff --git a/res/drawable-port/ic_delete.png b/res/drawable-port/ic_delete.png Binary files differnew file mode 100644 index 000000000..88330e75b --- /dev/null +++ b/res/drawable-port/ic_delete.png diff --git a/res/drawable-port/ic_tray_collapse.png b/res/drawable-port/ic_tray_collapse.png Binary files differnew file mode 100644 index 000000000..b6b8a77a7 --- /dev/null +++ b/res/drawable-port/ic_tray_collapse.png diff --git a/res/drawable-port/ic_tray_expand.png b/res/drawable-port/ic_tray_expand.png Binary files differnew file mode 100644 index 000000000..d2bbbd0e7 --- /dev/null +++ b/res/drawable-port/ic_tray_expand.png diff --git a/res/drawable-port/search_bg.9.png b/res/drawable-port/search_bg.9.png Binary files differnew file mode 100644 index 000000000..429315900 --- /dev/null +++ b/res/drawable-port/search_bg.9.png diff --git a/res/drawable-port/tray_handle_normal.png b/res/drawable-port/tray_handle_normal.png Binary files differnew file mode 100644 index 000000000..bf82049b0 --- /dev/null +++ b/res/drawable-port/tray_handle_normal.png diff --git a/res/drawable-port/tray_handle_pressed.png b/res/drawable-port/tray_handle_pressed.png Binary files differnew file mode 100644 index 000000000..b9d8e02d8 --- /dev/null +++ b/res/drawable-port/tray_handle_pressed.png diff --git a/res/drawable-port/tray_handle_selected.png b/res/drawable-port/tray_handle_selected.png Binary files differnew file mode 100644 index 000000000..01c2522e4 --- /dev/null +++ b/res/drawable-port/tray_handle_selected.png diff --git a/res/drawable/box_launcher_bottom.9.png b/res/drawable/box_launcher_bottom.9.png Binary files differnew file mode 100755 index 000000000..f4cc1fa10 --- /dev/null +++ b/res/drawable/box_launcher_bottom.9.png diff --git a/res/drawable/box_launcher_top.xml b/res/drawable/box_launcher_top.xml new file mode 100644 index 000000000..20c07c49a --- /dev/null +++ b/res/drawable/box_launcher_top.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/box_launcher_top_pressed" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/box_launcher_top_selected" /> + <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/box_launcher_top_normal" /> + <item android:drawable="@drawable/box_launcher_top_normal" /> +</selector> + diff --git a/res/drawable/box_launcher_top_normal.9.png b/res/drawable/box_launcher_top_normal.9.png Binary files differnew file mode 100644 index 000000000..abaff9597 --- /dev/null +++ b/res/drawable/box_launcher_top_normal.9.png diff --git a/res/drawable/box_launcher_top_pressed.9.png b/res/drawable/box_launcher_top_pressed.9.png Binary files differnew file mode 100644 index 000000000..4e163d427 --- /dev/null +++ b/res/drawable/box_launcher_top_pressed.9.png diff --git a/res/drawable/box_launcher_top_selected.9.png b/res/drawable/box_launcher_top_selected.9.png Binary files differnew file mode 100644 index 000000000..01b1c4e1e --- /dev/null +++ b/res/drawable/box_launcher_top_selected.9.png diff --git a/res/drawable/clock_dial.png b/res/drawable/clock_dial.png Binary files differnew file mode 100644 index 000000000..eda3d17f7 --- /dev/null +++ b/res/drawable/clock_dial.png diff --git a/res/drawable/clock_hour.png b/res/drawable/clock_hour.png Binary files differnew file mode 100644 index 000000000..fcfd94806 --- /dev/null +++ b/res/drawable/clock_hour.png diff --git a/res/drawable/clock_minute.png b/res/drawable/clock_minute.png Binary files differnew file mode 100644 index 000000000..afc0a3ff9 --- /dev/null +++ b/res/drawable/clock_minute.png diff --git a/res/drawable/delete_zone_selector.xml b/res/drawable/delete_zone_selector.xml new file mode 100644 index 000000000..6c917da88 --- /dev/null +++ b/res/drawable/delete_zone_selector.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2007, 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. +*/ +--> + +<transition xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@drawable/delete_handle_normal" /> + <item android:drawable="@drawable/delete_handle" /> +</transition> diff --git a/res/drawable/focused_application_background.9.png b/res/drawable/focused_application_background.9.png Binary files differnew file mode 100644 index 000000000..9d09b41f1 --- /dev/null +++ b/res/drawable/focused_application_background.9.png diff --git a/res/drawable/google_logo.png b/res/drawable/google_logo.png Binary files differnew file mode 100644 index 000000000..738abe013 --- /dev/null +++ b/res/drawable/google_logo.png diff --git a/res/drawable/grid_selector.xml b/res/drawable/grid_selector.xml new file mode 100644 index 000000000..009cfe171 --- /dev/null +++ b/res/drawable/grid_selector.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2007, 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/pressed_application_background" /> + <item android:state_focused="false" android:drawable="@drawable/focused_application_background" /> + <item android:state_window_focused="true" android:drawable="@drawable/focused_application_background" /> + <item android:state_window_focused="false" android:drawable="@android:color/transparent" /> +</selector> diff --git a/res/drawable/handle.xml b/res/drawable/handle.xml new file mode 100644 index 000000000..b184a56bc --- /dev/null +++ b/res/drawable/handle.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_window_focused="false" android:state_enabled="true" android:drawable="@drawable/tray_handle_normal" /> + <item android:state_pressed="true" android:drawable="@drawable/tray_handle_pressed" /> + <item android:state_focused="true" android:state_enabled="true" android:drawable="@drawable/tray_handle_selected" /> + <item android:state_enabled="true" android:drawable="@drawable/tray_handle_normal" /> + <item android:state_focused="true" android:drawable="@drawable/tray_handle_selected" /> +</selector> diff --git a/res/drawable/handle_icon.xml b/res/drawable/handle_icon.xml new file mode 100644 index 000000000..20e16b49c --- /dev/null +++ b/res/drawable/handle_icon.xml @@ -0,0 +1,20 @@ +<?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. +--> + +<transition xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@drawable/ic_tray_expand" /> + <item android:drawable="@drawable/ic_tray_collapse" /> +</transition> diff --git a/res/drawable/ic_launcher_alarmclock.png b/res/drawable/ic_launcher_alarmclock.png Binary files differnew file mode 100755 index 000000000..30ff2671a --- /dev/null +++ b/res/drawable/ic_launcher_alarmclock.png diff --git a/res/drawable/ic_launcher_folder.png b/res/drawable/ic_launcher_folder.png Binary files differnew file mode 100644 index 000000000..ed31ba580 --- /dev/null +++ b/res/drawable/ic_launcher_folder.png diff --git a/res/drawable/ic_launcher_folder_open.png b/res/drawable/ic_launcher_folder_open.png Binary files differnew file mode 100644 index 000000000..072301422 --- /dev/null +++ b/res/drawable/ic_launcher_folder_open.png diff --git a/res/drawable/ic_launcher_gallery.png b/res/drawable/ic_launcher_gallery.png Binary files differnew file mode 100755 index 000000000..965fb7143 --- /dev/null +++ b/res/drawable/ic_launcher_gallery.png diff --git a/res/drawable/ic_launcher_home.png b/res/drawable/ic_launcher_home.png Binary files differnew file mode 100755 index 000000000..84af2a2f1 --- /dev/null +++ b/res/drawable/ic_launcher_home.png diff --git a/res/drawable/ic_menu_gallery.png b/res/drawable/ic_menu_gallery.png Binary files differnew file mode 100644 index 000000000..f61bbd8ba --- /dev/null +++ b/res/drawable/ic_menu_gallery.png diff --git a/res/drawable/ic_menu_notifications.png b/res/drawable/ic_menu_notifications.png Binary files differnew file mode 100644 index 000000000..866d4e0bd --- /dev/null +++ b/res/drawable/ic_menu_notifications.png diff --git a/res/drawable/ic_menu_preferences.png b/res/drawable/ic_menu_preferences.png Binary files differnew file mode 100755 index 000000000..b8e71412d --- /dev/null +++ b/res/drawable/ic_menu_preferences.png diff --git a/res/drawable/ic_search_gadget.png b/res/drawable/ic_search_gadget.png Binary files differnew file mode 100644 index 000000000..0a4d8f467 --- /dev/null +++ b/res/drawable/ic_search_gadget.png diff --git a/res/drawable/picture_frame.9.png b/res/drawable/picture_frame.9.png Binary files differnew file mode 100644 index 000000000..b153260d9 --- /dev/null +++ b/res/drawable/picture_frame.9.png diff --git a/res/drawable/pressed_application_background.9.png b/res/drawable/pressed_application_background.9.png Binary files differnew file mode 100644 index 000000000..b09f595b7 --- /dev/null +++ b/res/drawable/pressed_application_background.9.png diff --git a/res/drawable/shortcut_selector.xml b/res/drawable/shortcut_selector.xml new file mode 100644 index 000000000..884bccffe --- /dev/null +++ b/res/drawable/shortcut_selector.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2007, 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/pressed_application_background" /> + <item android:state_window_focused="true" android:state_focused="true" android:drawable="@drawable/focused_application_background" /> + <item android:state_window_focused="false" android:state_focused="true" android:drawable="@android:color/transparent" /> +</selector> diff --git a/res/drawable/wallpaper.jpg b/res/drawable/wallpaper.jpg Binary files differnew file mode 100644 index 000000000..d19b64282 --- /dev/null +++ b/res/drawable/wallpaper.jpg diff --git a/res/drawable/wallpaper_beach.jpg b/res/drawable/wallpaper_beach.jpg Binary files differnew file mode 100644 index 000000000..c059cc3db --- /dev/null +++ b/res/drawable/wallpaper_beach.jpg diff --git a/res/drawable/wallpaper_beach_small.jpg b/res/drawable/wallpaper_beach_small.jpg Binary files differnew file mode 100644 index 000000000..350850935 --- /dev/null +++ b/res/drawable/wallpaper_beach_small.jpg diff --git a/res/drawable/wallpaper_blue.jpg b/res/drawable/wallpaper_blue.jpg Binary files differnew file mode 100644 index 000000000..032f59818 --- /dev/null +++ b/res/drawable/wallpaper_blue.jpg diff --git a/res/drawable/wallpaper_blue_small.jpg b/res/drawable/wallpaper_blue_small.jpg Binary files differnew file mode 100644 index 000000000..e987c69dc --- /dev/null +++ b/res/drawable/wallpaper_blue_small.jpg diff --git a/res/drawable/wallpaper_dale_chihuly.jpg b/res/drawable/wallpaper_dale_chihuly.jpg Binary files differnew file mode 100644 index 000000000..25c79400e --- /dev/null +++ b/res/drawable/wallpaper_dale_chihuly.jpg diff --git a/res/drawable/wallpaper_dale_chihuly_small.jpg b/res/drawable/wallpaper_dale_chihuly_small.jpg Binary files differnew file mode 100644 index 000000000..d11827ba1 --- /dev/null +++ b/res/drawable/wallpaper_dale_chihuly_small.jpg diff --git a/res/drawable/wallpaper_green.jpg b/res/drawable/wallpaper_green.jpg Binary files differnew file mode 100644 index 000000000..89b308b14 --- /dev/null +++ b/res/drawable/wallpaper_green.jpg diff --git a/res/drawable/wallpaper_green_small.jpg b/res/drawable/wallpaper_green_small.jpg Binary files differnew file mode 100644 index 000000000..16790d2a0 --- /dev/null +++ b/res/drawable/wallpaper_green_small.jpg diff --git a/res/drawable/wallpaper_grey.jpg b/res/drawable/wallpaper_grey.jpg Binary files differnew file mode 100644 index 000000000..7898568cf --- /dev/null +++ b/res/drawable/wallpaper_grey.jpg diff --git a/res/drawable/wallpaper_grey_small.jpg b/res/drawable/wallpaper_grey_small.jpg Binary files differnew file mode 100644 index 000000000..12ca3e22b --- /dev/null +++ b/res/drawable/wallpaper_grey_small.jpg diff --git a/res/drawable/wallpaper_jellyfish.jpg b/res/drawable/wallpaper_jellyfish.jpg Binary files differnew file mode 100644 index 000000000..659228b1e --- /dev/null +++ b/res/drawable/wallpaper_jellyfish.jpg diff --git a/res/drawable/wallpaper_jellyfish_small.jpg b/res/drawable/wallpaper_jellyfish_small.jpg Binary files differnew file mode 100644 index 000000000..e140597c8 --- /dev/null +++ b/res/drawable/wallpaper_jellyfish_small.jpg diff --git a/res/drawable/wallpaper_john_maeda.jpg b/res/drawable/wallpaper_john_maeda.jpg Binary files differnew file mode 100644 index 000000000..2118382be --- /dev/null +++ b/res/drawable/wallpaper_john_maeda.jpg diff --git a/res/drawable/wallpaper_john_maeda_small.jpg b/res/drawable/wallpaper_john_maeda_small.jpg Binary files differnew file mode 100644 index 000000000..08d08275e --- /dev/null +++ b/res/drawable/wallpaper_john_maeda_small.jpg diff --git a/res/drawable/wallpaper_lake.jpg b/res/drawable/wallpaper_lake.jpg Binary files differnew file mode 100644 index 000000000..5ba522f57 --- /dev/null +++ b/res/drawable/wallpaper_lake.jpg diff --git a/res/drawable/wallpaper_lake_small.jpg b/res/drawable/wallpaper_lake_small.jpg Binary files differnew file mode 100644 index 000000000..179b26a05 --- /dev/null +++ b/res/drawable/wallpaper_lake_small.jpg diff --git a/res/drawable/wallpaper_marc_ecko.jpg b/res/drawable/wallpaper_marc_ecko.jpg Binary files differnew file mode 100644 index 000000000..fd24072a2 --- /dev/null +++ b/res/drawable/wallpaper_marc_ecko.jpg diff --git a/res/drawable/wallpaper_marc_ecko_small.jpg b/res/drawable/wallpaper_marc_ecko_small.jpg Binary files differnew file mode 100644 index 000000000..3236cd5b5 --- /dev/null +++ b/res/drawable/wallpaper_marc_ecko_small.jpg diff --git a/res/drawable/wallpaper_mountain.jpg b/res/drawable/wallpaper_mountain.jpg Binary files differnew file mode 100644 index 000000000..137617793 --- /dev/null +++ b/res/drawable/wallpaper_mountain.jpg diff --git a/res/drawable/wallpaper_mountain_small.jpg b/res/drawable/wallpaper_mountain_small.jpg Binary files differnew file mode 100644 index 000000000..241647488 --- /dev/null +++ b/res/drawable/wallpaper_mountain_small.jpg diff --git a/res/drawable/wallpaper_path.jpg b/res/drawable/wallpaper_path.jpg Binary files differnew file mode 100644 index 000000000..f4cb02ce0 --- /dev/null +++ b/res/drawable/wallpaper_path.jpg diff --git a/res/drawable/wallpaper_path_small.jpg b/res/drawable/wallpaper_path_small.jpg Binary files differnew file mode 100644 index 000000000..a1af4cdd8 --- /dev/null +++ b/res/drawable/wallpaper_path_small.jpg diff --git a/res/drawable/wallpaper_pink.jpg b/res/drawable/wallpaper_pink.jpg Binary files differnew file mode 100644 index 000000000..1b9f226e0 --- /dev/null +++ b/res/drawable/wallpaper_pink.jpg diff --git a/res/drawable/wallpaper_pink_small.jpg b/res/drawable/wallpaper_pink_small.jpg Binary files differnew file mode 100644 index 000000000..7b7ad587e --- /dev/null +++ b/res/drawable/wallpaper_pink_small.jpg diff --git a/res/drawable/wallpaper_ripples.jpg b/res/drawable/wallpaper_ripples.jpg Binary files differnew file mode 100644 index 000000000..8624c860f --- /dev/null +++ b/res/drawable/wallpaper_ripples.jpg diff --git a/res/drawable/wallpaper_ripples_small.jpg b/res/drawable/wallpaper_ripples_small.jpg Binary files differnew file mode 100644 index 000000000..ce07d38af --- /dev/null +++ b/res/drawable/wallpaper_ripples_small.jpg diff --git a/res/drawable/wallpaper_road.jpg b/res/drawable/wallpaper_road.jpg Binary files differnew file mode 100644 index 000000000..88611a4ec --- /dev/null +++ b/res/drawable/wallpaper_road.jpg diff --git a/res/drawable/wallpaper_road_small.jpg b/res/drawable/wallpaper_road_small.jpg Binary files differnew file mode 100644 index 000000000..0b0c390db --- /dev/null +++ b/res/drawable/wallpaper_road_small.jpg diff --git a/res/drawable/wallpaper_snow_leopard.jpg b/res/drawable/wallpaper_snow_leopard.jpg Binary files differnew file mode 100644 index 000000000..0d33157a5 --- /dev/null +++ b/res/drawable/wallpaper_snow_leopard.jpg diff --git a/res/drawable/wallpaper_snow_leopard_small.jpg b/res/drawable/wallpaper_snow_leopard_small.jpg Binary files differnew file mode 100644 index 000000000..ec976aad9 --- /dev/null +++ b/res/drawable/wallpaper_snow_leopard_small.jpg diff --git a/res/drawable/wallpaper_sunrise.jpg b/res/drawable/wallpaper_sunrise.jpg Binary files differnew file mode 100644 index 000000000..4ee8d5dde --- /dev/null +++ b/res/drawable/wallpaper_sunrise.jpg diff --git a/res/drawable/wallpaper_sunrise_small.jpg b/res/drawable/wallpaper_sunrise_small.jpg Binary files differnew file mode 100644 index 000000000..aadd980ef --- /dev/null +++ b/res/drawable/wallpaper_sunrise_small.jpg diff --git a/res/drawable/wallpaper_sunset.jpg b/res/drawable/wallpaper_sunset.jpg Binary files differnew file mode 100644 index 000000000..bcfd8d4bd --- /dev/null +++ b/res/drawable/wallpaper_sunset.jpg diff --git a/res/drawable/wallpaper_sunset_small.jpg b/res/drawable/wallpaper_sunset_small.jpg Binary files differnew file mode 100644 index 000000000..eff8f0da2 --- /dev/null +++ b/res/drawable/wallpaper_sunset_small.jpg diff --git a/res/drawable/wallpaper_zanzibar.jpg b/res/drawable/wallpaper_zanzibar.jpg Binary files differnew file mode 100644 index 000000000..fb133741e --- /dev/null +++ b/res/drawable/wallpaper_zanzibar.jpg diff --git a/res/drawable/wallpaper_zanzibar_small.jpg b/res/drawable/wallpaper_zanzibar_small.jpg Binary files differnew file mode 100644 index 000000000..7307a7398 --- /dev/null +++ b/res/drawable/wallpaper_zanzibar_small.jpg diff --git a/res/layout-land/application.xml b/res/layout-land/application.xml new file mode 100644 index 000000000..52a1a37ea --- /dev/null +++ b/res/layout-land/application.xml @@ -0,0 +1,18 @@ +<?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. +--> + +<com.android.launcher.BubbleTextView xmlns:android="http://schemas.android.com/apk/res/android" + style="@style/WorkspaceIcon.Landscape" /> diff --git a/res/layout-land/application_boxed.xml b/res/layout-land/application_boxed.xml new file mode 100644 index 000000000..3cec8d0be --- /dev/null +++ b/res/layout-land/application_boxed.xml @@ -0,0 +1,29 @@ +<?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. +--> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="88dip" + + android:paddingTop="6dip" + android:paddingBottom="3dip" + android:drawablePadding="0dip" + + android:textSize="13dip" + android:maxLines="2" + android:ellipsize="end" + android:textColor="@color/bright_text_dark_focused" + android:gravity="top|center_horizontal" /> diff --git a/res/layout-land/folder_icon.xml b/res/layout-land/folder_icon.xml new file mode 100644 index 000000000..ce4aade8b --- /dev/null +++ b/res/layout-land/folder_icon.xml @@ -0,0 +1,18 @@ +<?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. +--> + +<com.android.launcher.FolderIcon xmlns:android="http://schemas.android.com/apk/res/android" + style="@style/WorkspaceIcon.Landscape" /> diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml new file mode 100644 index 000000000..e93ef31d2 --- /dev/null +++ b/res/layout-land/launcher.xml @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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. +--> + +<com.android.launcher.DragLayer + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + + android:id="@+id/drag_layer" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <!-- The workspace contains 3 screens of cells --> + <com.android.launcher.Workspace + android:id="@+id/workspace" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + + launcher:defaultScreen="1"> + + <include layout="@layout/workspace_screen" /> + <include layout="@layout/workspace_screen" /> + <include layout="@layout/workspace_screen" /> + + </com.android.launcher.Workspace> + + <com.android.internal.widget.SlidingDrawer + android:id="@+id/drawer" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + + android:orientation="horizontal" + android:bottomOffset="7px" + android:handle="@+id/all_apps" + android:content="@+id/content"> + + <ImageView + android:id="@id/all_apps" + android:focusable="true" + android:clickable="true" + android:scaleType="center" + android:src="@drawable/handle_icon" + android:background="@drawable/handle" + android:layout_height="fill_parent" + android:layout_width="56dip" /> + + <com.android.launcher.AllAppsGridView + android:id="@id/content" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + + android:background="@color/grid_dark_background" + + android:scrollbarStyle="outsideInset" + android:drawSelectorOnTop="false" + android:listSelector="@drawable/grid_selector" + + android:nextFocusLeft="@id/all_apps" + android:nextFocusDown="@id/content" + android:nextFocusUp="@id/content" + android:nextFocusRight="@id/content" + + android:verticalSpacing="10dip" + android:numColumns="5" /> + + </com.android.internal.widget.SlidingDrawer> + + <com.android.launcher.DeleteZone + android:id="@+id/delete_zone" + android:layout_width="49dip" + android:layout_height="wrap_content" + + android:scaleType="center" + android:src="@drawable/ic_delete" + android:background="@drawable/delete_zone_selector" + + android:layout_marginBottom="-25dip" + android:layout_gravity="right|center_vertical" + android:visibility="invisible" + + launcher:direction="vertical" /> + +</com.android.launcher.DragLayer> diff --git a/res/layout-land/user_folder.xml b/res/layout-land/user_folder.xml new file mode 100644 index 000000000..61f859e39 --- /dev/null +++ b/res/layout-land/user_folder.xml @@ -0,0 +1,46 @@ +<?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. +--> + +<com.android.launcher.UserFolder xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical"> + + <Button + android:id="@+id/close" + android:background="@drawable/box_launcher_top" + android:gravity="left|center_vertical" + android:textSize="14sp" + android:textColor="#404040" + android:textStyle="bold" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + <GridView + android:id="@id/content" + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1" + + android:background="@drawable/box_launcher_bottom" + + android:scrollbarAlwaysDrawVerticalTrack="true" + android:scrollbarStyle="insideInset" + android:drawSelectorOnTop="false" + android:listSelector="@drawable/grid_selector" + + android:verticalSpacing="10dip" + android:numColumns="5" /> + +</com.android.launcher.UserFolder> diff --git a/res/layout-land/workspace_screen.xml b/res/layout-land/workspace_screen.xml new file mode 100644 index 000000000..62e59b9ab --- /dev/null +++ b/res/layout-land/workspace_screen.xml @@ -0,0 +1,31 @@ +<?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. +--> + +<com.android.launcher.CellLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + + android:layout_width="fill_parent" + android:layout_height="fill_parent" + + launcher:cellWidth="106dip" + launcher:cellHeight="73dip" + launcher:longAxisStartPadding="0dip" + launcher:longAxisEndPadding="55dip" + launcher:shortAxisStartPadding="0dip" + launcher:shortAxisEndPadding="0dip" + launcher:shortAxisCells="4" + launcher:longAxisCells="4" /> diff --git a/res/layout-port/application.xml b/res/layout-port/application.xml new file mode 100644 index 000000000..b984258d2 --- /dev/null +++ b/res/layout-port/application.xml @@ -0,0 +1,18 @@ +<?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. +--> + +<com.android.launcher.BubbleTextView xmlns:android="http://schemas.android.com/apk/res/android" + style="@style/WorkspaceIcon.Portrait" /> diff --git a/res/layout-port/application_boxed.xml b/res/layout-port/application_boxed.xml new file mode 100644 index 000000000..3cec8d0be --- /dev/null +++ b/res/layout-port/application_boxed.xml @@ -0,0 +1,29 @@ +<?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. +--> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="88dip" + + android:paddingTop="6dip" + android:paddingBottom="3dip" + android:drawablePadding="0dip" + + android:textSize="13dip" + android:maxLines="2" + android:ellipsize="end" + android:textColor="@color/bright_text_dark_focused" + android:gravity="top|center_horizontal" /> diff --git a/res/layout-port/folder_icon.xml b/res/layout-port/folder_icon.xml new file mode 100644 index 000000000..1d5037094 --- /dev/null +++ b/res/layout-port/folder_icon.xml @@ -0,0 +1,18 @@ +<?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. +--> + +<com.android.launcher.FolderIcon xmlns:android="http://schemas.android.com/apk/res/android" + style="@style/WorkspaceIcon.Portrait" /> diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml new file mode 100644 index 000000000..41a1f5b0d --- /dev/null +++ b/res/layout-port/launcher.xml @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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. +--> + +<com.android.launcher.DragLayer + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + + android:id="@+id/drag_layer" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <!-- The workspace contains 3 screens of cells --> + <com.android.launcher.Workspace + android:id="@+id/workspace" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + + launcher:defaultScreen="1"> + + <include layout="@layout/workspace_screen" /> + <include layout="@layout/workspace_screen" /> + <include layout="@layout/workspace_screen" /> + + </com.android.launcher.Workspace> + + <com.android.internal.widget.SlidingDrawer + android:id="@+id/drawer" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + + android:topOffset="5px" + android:bottomOffset="7px" + android:handle="@+id/all_apps" + android:content="@+id/content"> + + <ImageView + android:id="@id/all_apps" + android:focusable="true" + android:clickable="true" + android:scaleType="center" + android:src="@drawable/handle_icon" + android:background="@drawable/handle" + android:layout_width="fill_parent" + android:layout_height="56dip" /> + + <com.android.launcher.AllAppsGridView + android:id="@id/content" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + + android:background="@color/grid_dark_background" + + android:scrollbarStyle="outsideInset" + android:drawSelectorOnTop="false" + android:listSelector="@drawable/grid_selector" + + android:nextFocusLeft="@id/content" + android:nextFocusDown="@id/content" + android:nextFocusUp="@id/all_apps" + android:nextFocusRight="@id/content" + + android:verticalSpacing="10dip" + android:numColumns="4" /> + + </com.android.internal.widget.SlidingDrawer> + + <com.android.launcher.DeleteZone + android:id="@+id/delete_zone" + android:layout_width="wrap_content" + android:layout_height="49dip" + + android:scaleType="center" + android:src="@drawable/ic_delete" + android:background="@drawable/delete_zone_selector" + + android:layout_gravity="bottom|center_horizontal" + android:visibility="invisible" + + launcher:direction="horizontal" /> + +</com.android.launcher.DragLayer> diff --git a/res/layout-port/user_folder.xml b/res/layout-port/user_folder.xml new file mode 100644 index 000000000..5795aeaab --- /dev/null +++ b/res/layout-port/user_folder.xml @@ -0,0 +1,46 @@ +<?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. +--> + +<com.android.launcher.UserFolder xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical"> + + <Button + android:id="@+id/close" + android:background="@drawable/box_launcher_top" + android:gravity="left|center_vertical" + android:textSize="14sp" + android:textColor="#404040" + android:textStyle="bold" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + <GridView + android:id="@id/content" + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1" + + android:background="@drawable/box_launcher_bottom" + + android:scrollbarAlwaysDrawVerticalTrack="true" + android:scrollbarStyle="insideInset" + android:drawSelectorOnTop="false" + android:listSelector="@drawable/grid_selector" + + android:verticalSpacing="10dip" + android:numColumns="4" /> + +</com.android.launcher.UserFolder> diff --git a/res/layout-port/workspace_screen.xml b/res/layout-port/workspace_screen.xml new file mode 100644 index 000000000..c6d419b95 --- /dev/null +++ b/res/layout-port/workspace_screen.xml @@ -0,0 +1,31 @@ +<?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. +--> + +<com.android.launcher.CellLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + + android:layout_width="fill_parent" + android:layout_height="fill_parent" + + launcher:cellWidth="80dip" + launcher:cellHeight="100dip" + launcher:longAxisStartPadding="0dip" + launcher:longAxisEndPadding="55dip" + launcher:shortAxisStartPadding="0dip" + launcher:shortAxisEndPadding="0dip" + launcher:shortAxisCells="4" + launcher:longAxisCells="4" /> diff --git a/res/layout/create_shortcut_group_item.xml b/res/layout/create_shortcut_group_item.xml new file mode 100644 index 000000000..8004633a3 --- /dev/null +++ b/res/layout/create_shortcut_group_item.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 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. +*/ +--> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/title" + android:layout_width="fill_parent" + android:layout_height="?android:attr/listPreferredItemHeight" + android:minHeight="?android:attr/listPreferredItemHeight" + android:textAppearance="?android:attr/textAppearanceLargeInverse" + android:gravity="center_vertical" + android:paddingRight="15dip" + android:paddingLeft="?android:attr/expandableListPreferredItemPaddingLeft" /> + diff --git a/res/layout/create_shortcut_list.xml b/res/layout/create_shortcut_list.xml new file mode 100644 index 000000000..63ca2b879 --- /dev/null +++ b/res/layout/create_shortcut_list.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 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. +*/ +--> +<ExpandableListView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_marginTop="5px" + android:cacheColorHint="@null" + android:childDivider="@android:drawable/divider_horizontal_bright" + android:divider="@android:drawable/divider_horizontal_bright" + android:scrollbars="vertical" /> diff --git a/res/layout/create_shortcut_list_item.xml b/res/layout/create_shortcut_list_item.xml new file mode 100644 index 000000000..a6975f8fa --- /dev/null +++ b/res/layout/create_shortcut_list_item.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 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. +*/ +--> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:minHeight="?android:attr/listPreferredItemHeight" + android:textAppearance="?android:attr/textAppearanceLargeInverse" + android:gravity="center_vertical" + android:drawablePadding="14dip" + android:paddingLeft="?android:attr/expandableListPreferredChildPaddingLeft" + android:paddingRight="15dip" /> + + diff --git a/res/layout/rename_folder.xml b/res/layout/rename_folder.xml new file mode 100644 index 000000000..2c578f3fb --- /dev/null +++ b/res/layout/rename_folder.xml @@ -0,0 +1,40 @@ +<?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. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:padding="20dip" + android:orientation="vertical"> + + <TextView + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:text="@string/rename_folder_label" + android:gravity="left" + android:textAppearance="?android:attr/textAppearanceMedium" /> + + <EditText + android:id="@+id/folder_name" + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:scrollHorizontally="true" + android:autoText="false" + android:capitalize="none" + android:gravity="fill_horizontal" + android:textAppearance="?android:attr/textAppearanceMedium" /> + +</LinearLayout> diff --git a/res/layout/wallpaper_chooser.xml b/res/layout/wallpaper_chooser.xml new file mode 100644 index 000000000..7267246da --- /dev/null +++ b/res/layout/wallpaper_chooser.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 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. +*/ +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <ImageView android:id="@+id/wallpaper" + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1.0" + android:scaleType="fitCenter" /> + + <Gallery android:id="@+id/gallery" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + <Button android:id="@+id/set" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/wallpaper_instructions" + android:layout_gravity="center_horizontal" /> + +</LinearLayout> + diff --git a/res/layout/wallpaper_item.xml b/res/layout/wallpaper_item.xml new file mode 100644 index 000000000..672748384 --- /dev/null +++ b/res/layout/wallpaper_item.xml @@ -0,0 +1,22 @@ +<?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. +--> + +<ImageView xmlns:android="http://schemas.android.com/apk/res/android" + android:background="?android:attr/galleryItemBackground" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:scaleType="fitXY" + android:focusable="true" /> diff --git a/res/layout/widget_clock.xml b/res/layout/widget_clock.xml new file mode 100644 index 000000000..b934e90e5 --- /dev/null +++ b/res/layout/widget_clock.xml @@ -0,0 +1,22 @@ +<?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. +--> + +<AnalogClock xmlns:android="http://schemas.android.com/apk/res/android" + android:dial="@drawable/clock_dial" + android:hand_hour="@drawable/clock_hour" + android:hand_minute="@drawable/clock_minute" + android:layout_width="fill_parent" + android:layout_height="fill_parent" /> diff --git a/res/layout/widget_photo_frame.xml b/res/layout/widget_photo_frame.xml new file mode 100644 index 000000000..9fe3b80bc --- /dev/null +++ b/res/layout/widget_photo_frame.xml @@ -0,0 +1,22 @@ +<?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. +--> + +<com.android.launcher.PhotoFrame xmlns:android="http://schemas.android.com/apk/res/android" + android:scaleType="center" + android:cropToPadding="true" + android:background="@drawable/picture_frame" + android:layout_width="fill_parent" + android:layout_height="fill_parent" /> diff --git a/res/layout/widget_search.xml b/res/layout/widget_search.xml new file mode 100644 index 000000000..67ac34582 --- /dev/null +++ b/res/layout/widget_search.xml @@ -0,0 +1,48 @@ +<?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. +--> + +<com.android.launcher.Search xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="horizontal" + android:background="@drawable/search_bg" + android:gravity="center_vertical"> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/google_logo" /> + + <AutoCompleteTextView + android:id="@+id/input" + android:layout_width="0dip" + android:layout_weight="1" + android:layout_height="wrap_content" + android:hint="@string/search_hint" + android:focusableInTouchMode="false" + android:singleLine="true" + + android:completionThreshold="1" + /> + + <Button + android:id="@+id/go" + android:layout_marginLeft="4dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/go"/> + +</com.android.launcher.Search> diff --git a/res/values/attrs.xml b/res/values/attrs.xml new file mode 100644 index 000000000..caa243849 --- /dev/null +++ b/res/values/attrs.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* Copyright 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. +*/ +--> + +<resources> + <!-- Workspace specific attributes. These attributes are used to customize + the workspace in XML files. --> + <declare-styleable name="Workspace"> + <!-- The first screen the workspace should display. --> + <attr name="defaultScreen" format="integer" /> + </declare-styleable> + + <!-- CellLayout specific attributes. These attributes are used to customize + a CellLayout view in XML files. --> + <declare-styleable name="CellLayout"> + <!-- The width of a single cell --> + <attr name="cellWidth" format="dimension" /> + <!-- The height of a single cell --> + <attr name="cellHeight" format="dimension" /> + <!-- Padding to apply at the start of the long axis --> + <attr name="longAxisStartPadding" format="dimension" /> + <!-- Padding to apply at the end of the long axis --> + <attr name="longAxisEndPadding" format="dimension" /> + <!-- Padding to apply at the start of the short axis --> + <attr name="shortAxisStartPadding" format="dimension" /> + <!-- Padding to apply at the end of the short axis --> + <attr name="shortAxisEndPadding" format="dimension" /> + <!-- Number of cells on the short axis of the CellLayout --> + <attr name="shortAxisCells" format="integer" /> + <!-- Number of cells on the long axis of the CellLayout --> + <attr name="longAxisCells" format="integer" /> + </declare-styleable> + + <!-- DeleteZone specific attributes. These attributes are used to customize + a DeleteZone view in XML files. --> + <declare-styleable name="DeleteZone"> + <!-- Orientation of the delete zone. --> + <attr name="direction"> + <!-- Vertical delete zone. --> + <enum name="vertical" value="0" /> + <!-- Horizontal delete zone. This is the default value. --> + <enum name="horizontal" value="1" /> + </attr> + </declare-styleable> + +</resources> diff --git a/res/values/colors.xml b/res/values/colors.xml new file mode 100644 index 000000000..d4051f0db --- /dev/null +++ b/res/values/colors.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/common/assets/res/any/colors.xml +** +** Copyright 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. +*/ +--> +<resources> + <color name="window_background">#FF191919</color> + <color name="grid_dark_background">#EB191919</color> + <color name="bubble_dark_background">#B2191919</color> + <color name="delete_color_filter">#A5FF0000</color> +</resources> diff --git a/res/values/strings.xml b/res/values/strings.xml new file mode 100644 index 000000000..d2a997a1e --- /dev/null +++ b/res/values/strings.xml @@ -0,0 +1,82 @@ +<?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. +*/ +--> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- General --> + <!-- Application name --> + <string name="application_name">Home</string> + <!-- Default folder name --> + <string name="folder_name">Folder</string> + <!-- Unused string --> + <string name="all_apps_folder_name">Applications</string> + <!-- Unused string --> + <string name="delete_name">Delete</string> + <!-- Title of dialog that appears after user selects Wallpaper from menu --> + <string name="chooser_wallpaper">Select wallpaper from</string> + <!-- Button label on Wallpaper Gallery screen; user selects this button to set a specific wallpaper --> + <string name="wallpaper_instructions">Set wallpaper</string> + <!-- Option in "Select wallpaper from" dialog box --> + <string name="pick_wallpaper">Wallpaper gallery</string> + <!--Displayed when user selects a shortcut for an app that was uninstalled --> + <string name="activity_not_found">Application is not installed on your phone.</string> + + <!-- Folders --> + <!-- Label of Folder name field in Rename folder dialog box --> + <string name="rename_folder_label">Folder name:</string> + <!-- Title of dialog box --> + <string name="rename_folder_title">Rename folder</string> + <!-- Buttons in Rename folder dialog box: --> + <string name="rename_action">OK</string> + <string name="cancel_action">Cancel</string> + + <!-- Shortcuts --> + <!-- Title of dialog box --> + <string name="menu_item_add_item">Add to Home</string> + <!-- Options in "Add to Home" dialog box: --> + <string name="group_applications">Application</string> + <string name="group_shortcuts">Shortcut</string> + <string name="group_widgets">Widget</string> + <string name="group_wallpapers">Wallpaper</string> + <string name="add_folder">Folder</string> + <string name="add_clock">Clock</string> + <string name="add_photo_frame">Picture frame</string> + <string name="add_search">Search</string> + <!-- Error message when user has filled a home screen, possibly not used --> + <string name="out_of_space">No more room on this Home screen.</string> + + <!-- Menus items: --> + <string name="menu_add">Add</string> + <string name="menu_wallpaper">Wallpaper</string> + <string name="menu_search">Search</string> + <string name="menu_notifications">Notifications</string> + <string name="menu_settings">Settings</string> + + <!-- Permissions: --> + <string name="permlab_install_shortcut">install shortcuts</string> + <string name="permdesc_install_shortcut">Allows an application to add + shortcuts without user intervention.</string> + <string name="permlab_uninstall_shortcut">uninstall shortcuts</string> + <string name="permdesc_uninstall_shortcut">Allows an application to remove + shortcuts without user intervention.</string> + + <!-- Widgets: --> + <string name="go">Search</string> + <string name="search_hint">Google Search</string> + +</resources> diff --git a/res/values/styles.xml b/res/values/styles.xml new file mode 100644 index 000000000..a5aed0169 --- /dev/null +++ b/res/values/styles.xml @@ -0,0 +1,56 @@ +<?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. +*/ +--> + +<resources> + <style name="Theme" parent="android:Theme"> + <item name="android:windowBackground">@null</item> + <item name="android:windowNoTitle">true</item> + </style> + + <style name="WorkspaceIcon"> + <item name="android:textSize">13dip</item> + <item name="android:singleLine">true</item> + <item name="android:ellipsize">end</item> + <item name="android:shadowColor">#FF000000</item> + <item name="android:shadowRadius">2.0</item> + <item name="android:textColor">#FFF</item> + <item name="android:gravity">center_horizontal</item> + <item name="android:layout_width">fill_parent</item> + <item name="android:layout_height">fill_parent</item> + <item name="android:background">@drawable/shortcut_selector</item> + <item name="android:paddingLeft">5dip</item> + <item name="android:paddingRight">5dip</item> + </style> + + <style name="WorkspaceIcon.Portrait"> + <item name="android:drawablePadding">5dip</item> + <item name="android:paddingTop">4dip</item> + <item name="android:layout_marginLeft">3dip</item> + <item name="android:layout_marginRight">3dip</item> + <item name="android:layout_marginTop">13dip</item> + <item name="android:layout_marginBottom">8dip</item> + </style> + + <style name="WorkspaceIcon.Landscape"> + <item name="android:drawablePadding">3dip</item> + <item name="android:paddingTop">2dip</item> + <item name="android:layout_marginLeft">10dip</item> + <item name="android:layout_marginRight">10dip</item> + </style> +</resources> |