diff options
Diffstat (limited to 'java/res/values')
-rw-r--r-- | java/res/values/colors.xml | 5 | ||||
-rw-r--r-- | java/res/values/setup-dimens.xml | 20 | ||||
-rw-r--r-- | java/res/values/setup-styles.xml | 45 | ||||
-rw-r--r-- | java/res/values/strings.xml | 25 |
4 files changed, 95 insertions, 0 deletions
diff --git a/java/res/values/colors.xml b/java/res/values/colors.xml index c0ea321ce..8a8049f1f 100644 --- a/java/res/values/colors.xml +++ b/java/res/values/colors.xml @@ -53,4 +53,9 @@ <color name="spacebar_text_color_ics">#FFC0C0C0</color> <color name="spacebar_text_shadow_color_ics">#80000000</color> <color name="typed_word_color_ics">@color/highlight_color_ics</color> + <!-- Color resources for setup wizard and tutorial --> + <color name="setup_background">#FFEBEBEB</color> + <color name="setup_text_dark">#FF707070</color> + <color name="setup_text_action">@android:color/holo_blue_light</color> + <color name="setup_step_background">@android:color/background_light</color> </resources> diff --git a/java/res/values/setup-dimens.xml b/java/res/values/setup-dimens.xml new file mode 100644 index 000000000..007906dc0 --- /dev/null +++ b/java/res/values/setup-dimens.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 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:android="http://schemas.android.com/apk/res/android"> + <dimen name="setup_title_text_size">46sp</dimen> + <dimen name="setup_horizontal_padding">16dp</dimen> +</resources> diff --git a/java/res/values/setup-styles.xml b/java/res/values/setup-styles.xml new file mode 100644 index 000000000..cfc689a78 --- /dev/null +++ b/java/res/values/setup-styles.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 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:android="http://schemas.android.com/apk/res/android"> + <style name="setupTitleStyle"> + <item name="android:textColor">@color/setup_text_dark</item> + <item name="android:textSize">@dimen/setup_title_text_size</item> + </style> + <style name="setupStepBulletStyle"> + <item name="android:textColor">@color/setup_text_dark</item> + <item name="android:textSize">22sp</item> + <item name="android:layout_width">0dp</item> + <item name="android:layout_weight">1.0</item> + <item name="android:layout_height">wrap_content</item> + <item name="android:gravity">center_horizontal</item> + </style> + <style name="setupStepTitleStyle"> + <item name="android:background">@color/setup_step_background</item> + <item name="android:textColor">@color/setup_text_dark</item> + <item name="android:textSize">22sp</item> + </style> + <style name="setupStepInstructionStyle"> + <item name="android:background">@color/setup_step_background</item> + <item name="android:textColor">@color/setup_text_dark</item> + <item name="android:textSize">14sp</item> + </style> + <style name="setupStepActionLabelStyle"> + <item name="android:background">@color/setup_step_background</item> + <item name="android:textColor">@color/setup_text_action</item> + <item name="android:textSize">18sp</item> + </style> +</resources> diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index ee79b450e..f7d34c8e3 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -408,4 +408,29 @@ <!-- Title of the button to revert to the default value of the device in the settings dialog [CHAR LIMIT=15] --> <string name="button_default">Default</string> + + <!-- Title of the setup wizard. [CHAR LIMT=40] --> + <string name="setup_title">"Installing <xliff:g id="application_name">%s</xliff:g>"</string> + <!-- Ordinal number of the 1st step in the setup wizard. [CHAR LIMIT=5] --> + <string name="setup_step1_bullet">1</string> + <!-- Title of the 1st step in the setup wizard. [CHAR LIMIT=64] --> + <string name="setup_step1_title">"Enable <xliff:g id="application_name">%s</xliff:g> in settings."</string> + <!-- Detailed instruction of the 1st step in the setup wizard. [CHAR LIMIT=80] --> + <string name="setup_step1_instruction">"For security, please check \"<xliff:g id="application_name">%s</xliff:g>\""</string> + <!-- Ordinal number of the 2nd step in the setup wizard. [CHAR LIMIT=5] --> + <string name="setup_step2_bullet">2</string> + <!-- Title of the 2nd step in the setup wizard. [CHAR LIMIT=64] --> + <string name="setup_step2_title">"Switch to <xliff:g id="application_name">%s</xliff:g>."</string> + <!-- Detailed instruction of the 2nd step in the setup wizard. [CHAR LIMIT=80] --> + <string name="setup_step2_instruction">"Now that you've enabled <xliff:g id="application_name">%s</xliff:g>, you can switch to it."</string> + <!-- Ordinal number of the 3rd step in the setup wizard. [CHAR LIMIT=5] --> + <string name="setup_step3_bullet">3</string> + <!-- Title of the 3rd step in the setup wizard. [CHAR LIMIT=64] --> + <string name="setup_step3_title">"Congratulations, you're all set!"</string> + <!-- Detailed instruction of the 3rd step in the setup wizard. [CHAR LIMIT=80] --> + <string name="setup_step3_instruction">Configure additional languages</string> + <!-- Title of the Language & input settings. This should be aligned with msgid="5292716747264442359" --> + <string name="language_settings">Language & input</string> + <!-- Title of the Input method picker. This should be aligned with msgid="4653387336791222978" --> + <string name="select_input_method">Choose input method</string> </resources> |