summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'res/values')
-rw-r--r--res/values/attrs.xml60
-rw-r--r--res/values/colors.xml25
-rw-r--r--res/values/strings.xml82
-rw-r--r--res/values/styles.xml56
4 files changed, 223 insertions, 0 deletions
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>