summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-08-13 12:53:24 -0700
committerRomain Guy <romainguy@android.com>2009-08-13 12:53:24 -0700
commit41669fc9c6d4faab98d527c8f4c449725c29c8df (patch)
tree0df0fc1044167a2a362a8ac48c4250e04abeb4ef /res
parenteb2c02eedb72f8b9db2fcace8dcfc6019d04112c (diff)
downloadandroid_packages_apps_Trebuchet-41669fc9c6d4faab98d527c8f4c449725c29c8df.tar.gz
android_packages_apps_Trebuchet-41669fc9c6d4faab98d527c8f4c449725c29c8df.tar.bz2
android_packages_apps_Trebuchet-41669fc9c6d4faab98d527c8f4c449725c29c8df.zip
Add live wallpapers picker to Launcher2. This is temporary.
This change requires changing the signature and shared user id of Launcher2, we will have to revert this once we move the wallpapers picker back to Settings.
Diffstat (limited to 'res')
-rw-r--r--res/layout/pick_item.xml25
-rw-r--r--res/values/strings.xml4
2 files changed, 29 insertions, 0 deletions
diff --git a/res/layout/pick_item.xml b/res/layout/pick_item.xml
new file mode 100644
index 000000000..f27651141
--- /dev/null
+++ b/res/layout/pick_item.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 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="wrap_content"
+ android:minHeight="?android:attr/listPreferredItemHeight"
+ android:textAppearance="?android:attr/textAppearanceLargeInverse"
+ android:gravity="center_vertical"
+ android:drawablePadding="14dip"
+ android:paddingLeft="15dip"
+ android:paddingRight="15dip" />
diff --git a/res/values/strings.xml b/res/values/strings.xml
index f286fa11e..476f47ab4 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -34,6 +34,9 @@
<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>
+ <!-- Title for the screen that lets the user choose a live wallpaper to use
+ for the system. -->
+ <string name="live_wallpaper_picker_title">Live wallpaper</string>
<!-- Folders -->
<skip />
@@ -126,4 +129,5 @@
<!-- 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>