summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'res/values')
-rw-r--r--res/values/attrs.xml79
-rw-r--r--res/values/colors.xml27
-rw-r--r--res/values/extra_wallpapers.xml21
-rw-r--r--res/values/strings.xml118
-rw-r--r--res/values/styles.xml56
5 files changed, 301 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
new file mode 100644
index 000000000..ab545aa76
--- /dev/null
+++ b/res/values/attrs.xml
@@ -0,0 +1,79 @@
+<?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>
+ <!-- Orientation of a widget. -->
+ <attr name="direction">
+ <!-- Vertical widget. -->
+ <enum name="vertical" value="0" />
+ <!-- Horizontal widget. -->
+ <enum name="horizontal" value="1" />
+ </attr>
+
+ <skip />
+
+ <!-- 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" />
+ </declare-styleable>
+
+ <!-- HandleView specific attributes. These attributes are used to customize
+ a HandleView view in XML files. -->
+ <declare-styleable name="HandleView">
+ <!-- Orientation of the handle. -->
+ <attr name="direction" />
+ </declare-styleable>
+
+ <!-- AllAppsGridView specific attributes. These attributes are used to customize
+ the list of all apps in XML files. -->
+ <declare-styleable name="AllAppsGridView">
+ <!-- The background texture. -->
+ <attr name="texture" format="reference" />
+ </declare-styleable>
+
+</resources>
diff --git a/res/values/colors.xml b/res/values/colors.xml
new file mode 100644
index 000000000..4a2aba375
--- /dev/null
+++ b/res/values/colors.xml
@@ -0,0 +1,27 @@
+<?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>
+
+ <color name="gadget_error_color">#fccc</color>
+</resources>
diff --git a/res/values/extra_wallpapers.xml b/res/values/extra_wallpapers.xml
new file mode 100644
index 000000000..9e0951cfa
--- /dev/null
+++ b/res/values/extra_wallpapers.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ * Copyright (C) 2009 Google Inc.
+ *
+ * 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>
+ <string-array name="extra_wallpapers">
+ </string-array>
+</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 000000000..a7945cba7
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,118 @@
+<?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 -->
+ <skip />
+ <!-- Application name -->
+ <string name="application_name">Home</string>
+ <!-- Default folder name -->
+ <string name="folder_name">Folder</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 -->
+ <skip />
+ <!-- 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>
+ <!-- Buttons in Rename folder dialog box -->
+ <string name="cancel_action">Cancel</string>
+
+ <!-- Shortcuts -->
+ <skip />
+ <!-- Title of dialog box -->
+ <string name="menu_item_add_item">Add to Home screen</string>
+ <!-- Options in "Add to Home" dialog box; Title of the group containing the list of all apps -->
+ <string name="group_applications">Application</string>
+ <!-- Options in "Add to Home" dialog box; Title of the group containing the list of all shortcuts -->
+ <string name="group_shortcuts">Shortcut</string>
+ <!-- Options in "Add to Home" dialog box; Title of the search gadget -->
+ <string name="group_search">Search</string>
+ <!-- Options in "Add to Home" dialog box; Title of the folder gadget -->
+ <string name="group_folder">Folder</string>
+ <!-- Options in "Add to Home" dialog box; Title of the group containing the list of all live folders -->
+ <string name="group_live_folders">Live folder</string>
+ <!-- Options in "Add to Home" dialog box; Title of the group containing the list of all widgets/gadgets -->
+ <string name="group_widgets">Widget</string>
+ <!-- Options in "Add to Home" dialog box; Title of the group containing the list of apps that can set the wallpaper-->
+ <string name="group_wallpapers">Wallpaper</string>
+ <!-- Options in "Add to Home" dialog box; Name of the Folder widget-->
+ <string name="add_folder">Folder</string>
+ <!-- Options in "Add to Home" dialog box; Name of the Clock widget-->
+ <string name="add_clock">Clock</string>
+ <!-- Options in "Add to Home" dialog box; Name of the Picture frame widget-->
+ <string name="add_photo_frame">Picture frame</string>
+ <!-- Options in "Add to Home" dialog box; Name of the Google Search widget-->
+ <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>
+
+ <!-- Title of dialog when user is selecting shortcut to add to homescreen -->
+ <string name="title_select_shortcut">Select shortcut</string>
+ <!-- Title of dialog when user is selecting live folder to add to homescreen -->
+ <string name="title_select_live_folder">Select live folder</string>
+
+ <!-- Menus items: -->
+ <skip />
+ <!-- Verb, menu item used to add an item on the desktop -->
+ <string name="menu_add">Add</string>
+ <!-- Noun, menu item used to set the desktop's wallpaper -->
+ <string name="menu_wallpaper">Wallpaper</string>
+ <!-- Verb, menu item used to initiate a Google Search -->
+ <string name="menu_search">Search</string>
+ <!-- Noun, menu item used to bring down the notifications shade -->
+ <string name="menu_notifications">Notifications</string>
+ <!-- Noun, menu item used to show the system settings -->
+ <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>
+ <string name="permlab_read_settings">read Home settings and shortcuts</string>
+ <string name="permdesc_read_settings">Allows an application to read the settings and
+ shortcuts in Home.</string>
+ <string name="permlab_write_settings">write Home settings and shortcuts</string>
+ <string name="permdesc_write_settings">Allows an application to change the settings and
+ shortcuts in Home.</string>
+
+ <!-- Widgets: -->
+ <skip />
+ <!-- This is the hint text shown in the search widget, before text is entered.
+ This translation SHOULD MATCH the string "search_hint" which is found in
+ GoogleSearch/res/values/strings.xml -->
+ <string name="search_hint">Google Search</string>
+
+ <!-- Text to show user in place of a gadget when we can't display it properly -->
+ <string name="gadget_error_text">Problem loading widget</string>
+
+</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
new file mode 100644
index 000000000..a3d3e22c7
--- /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">marquee</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>