diff options
Diffstat (limited to 'wallpaper_picker_res/values')
-rw-r--r-- | wallpaper_picker_res/values/colors.xml | 22 | ||||
-rw-r--r-- | wallpaper_picker_res/values/dimens.xml | 22 | ||||
-rw-r--r-- | wallpaper_picker_res/values/strings.xml | 53 | ||||
-rw-r--r-- | wallpaper_picker_res/values/styles.xml | 37 |
4 files changed, 134 insertions, 0 deletions
diff --git a/wallpaper_picker_res/values/colors.xml b/wallpaper_picker_res/values/colors.xml new file mode 100644 index 000000000..adae7cff6 --- /dev/null +++ b/wallpaper_picker_res/values/colors.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/common/assets/res/any/colors.xml +** +** Copyright 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> + <color name="wallpaper_picker_translucent_gray">#66000000</color> +</resources> diff --git a/wallpaper_picker_res/values/dimens.xml b/wallpaper_picker_res/values/dimens.xml new file mode 100644 index 000000000..0447c6d1f --- /dev/null +++ b/wallpaper_picker_res/values/dimens.xml @@ -0,0 +1,22 @@ +<?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> +<!-- Wallpaper picker --> + <dimen name="wallpaperThumbnailWidth">106.5dp</dimen> + <dimen name="wallpaperThumbnailHeight">94.5dp</dimen> + <dimen name="wallpaperItemIconSize">32dp</dimen> +</resources> diff --git a/wallpaper_picker_res/values/strings.xml b/wallpaper_picker_res/values/strings.xml new file mode 100644 index 000000000..1ee3513f9 --- /dev/null +++ b/wallpaper_picker_res/values/strings.xml @@ -0,0 +1,53 @@ +<?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:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Button label on Wallpaper picker screen; user selects this button to set a specific wallpaper --> + <string name="wallpaper_instructions">Set wallpaper</string> + <!-- Error message when an image is selected as a wallpaper, + but the wallpaper picker cannot load it --> + <string name="image_load_fail">Coudn\'t load image</string> + <!-- Error message when an image is selected as a wallpaper, + but the wallpaper cropper cannot load it. The user will + usually see this when using another app and trying to set + an image as the wallpaper --> + <string name="wallpaper_load_fail">Couldn\'t load image as wallpaper</string> + <!-- Shown when wallpapers are selected in Wallpaper picker --> + <!-- String indicating how many media item(s) is(are) selected + eg. 1 selected [CHAR LIMIT=30] --> + <plurals name="number_of_items_selected"> + <item quantity="zero">%1$d selected</item> + <item quantity="one">%1$d selected</item> + <item quantity="other">%1$d selected</item> + </plurals> + <!-- Accessibility string used as a label for a particular wallpaper in the Wallpaper Picker list. + e.g. "Wallpaper 3 of 10" --> + <string name="wallpaper_accessibility_name">Wallpaper %1$d of %2$d</string> + <!-- Accessibility string used to announce that a wallpaper has been selected. --> + <string name="announce_selection">Selected <xliff:g id="label" example="Wallpaper 3 of 10">%1$s</xliff:g></string> + + <!-- Label on button to delete wallpaper(s) --> + <string name="wallpaper_delete">Delete</string> + <!-- Label on button in Wallpaper Picker to pick an image --> + <string name="pick_image">Pick image</string> + <!-- Option in "Select wallpaper from" dialog box --> + <string name="pick_wallpaper">Wallpapers</string> + <!-- Title of activity for cropping wallpapers --> + <string name="crop_wallpaper">Crop wallpaper</string> +</resources> diff --git a/wallpaper_picker_res/values/styles.xml b/wallpaper_picker_res/values/styles.xml new file mode 100644 index 000000000..0e48ddac4 --- /dev/null +++ b/wallpaper_picker_res/values/styles.xml @@ -0,0 +1,37 @@ +<?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> + <style name="Theme.WallpaperCropper" parent="@android:style/Theme.Holo"> + <item name="android:actionBarStyle">@style/WallpaperCropperActionBar</item> + <item name="android:windowFullscreen">true</item> + <item name="android:windowActionBarOverlay">true</item> + <item name="android:windowTranslucentNavigation">true</item> + </style> + + <style name="WallpaperCropperActionBar" parent="android:style/Widget.Holo.ActionBar"> + <item name="android:displayOptions">showCustom</item> + <item name="android:background">#88000000</item> + </style> + + <style name="Theme" parent="@android:style/Theme.Holo.Wallpaper.NoTitleBar"> + <item name="android:windowTranslucentStatus">true</item> + <item name="android:windowTranslucentNavigation">true</item> + </style> +</resources> |