diff options
author | Romain Guy <romainguy@android.com> | 2009-10-16 15:08:11 -0700 |
---|---|---|
committer | Romain Guy <romainguy@android.com> | 2009-10-16 15:08:11 -0700 |
commit | a824765c2311549481cc38e831a74baf3a28a135 (patch) | |
tree | ff2102a50ee0e4bb217140834851deff1d6168a0 /res | |
parent | 2afb6e91ed59a0c29d7b57b57b05e842cf796798 (diff) | |
download | android_packages_wallpapers_LivePicker-a824765c2311549481cc38e831a74baf3a28a135.tar.gz android_packages_wallpapers_LivePicker-a824765c2311549481cc38e831a74baf3a28a135.tar.bz2 android_packages_wallpapers_LivePicker-a824765c2311549481cc38e831a74baf3a28a135.zip |
Move the live wallpapers picker to its own apk.
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/ic_launcher_appwidget.png | bin | 0 -> 7240 bytes | |||
-rw-r--r-- | res/drawable-hdpi/livewallpaper_placeholder.png | bin | 0 -> 4814 bytes | |||
-rw-r--r-- | res/layout/live_wallpaper_content.xml | 72 | ||||
-rw-r--r-- | res/layout/wallpaper_item.xml | 22 | ||||
-rw-r--r-- | res/values/strings.xml | 37 |
5 files changed, 131 insertions, 0 deletions
diff --git a/res/drawable-hdpi/ic_launcher_appwidget.png b/res/drawable-hdpi/ic_launcher_appwidget.png Binary files differnew file mode 100644 index 0000000..3dc8b20 --- /dev/null +++ b/res/drawable-hdpi/ic_launcher_appwidget.png diff --git a/res/drawable-hdpi/livewallpaper_placeholder.png b/res/drawable-hdpi/livewallpaper_placeholder.png Binary files differnew file mode 100644 index 0000000..3743489 --- /dev/null +++ b/res/drawable-hdpi/livewallpaper_placeholder.png diff --git a/res/layout/live_wallpaper_content.xml b/res/layout/live_wallpaper_content.xml new file mode 100644 index 0000000..4dc6dbc --- /dev/null +++ b/res/layout/live_wallpaper_content.xml @@ -0,0 +1,72 @@ +<?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. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + > + + <FrameLayout + android:layout_width="fill_parent" + android:layout_height="0px" + android:layout_weight="1" + > + <!-- + <ListView + android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + /> + --> + <TextView + android:id="@android:id/empty" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:text="@string/live_wallpaper_empty" + android:visibility="gone" + android:textAppearance="?android:attr/textAppearanceMedium" + /> + </FrameLayout> + + <Gallery android:id="@+id/gallery" + android:gravity="fill" + android:layout_width="fill_parent" + android:layout_height="120dip" /> + + <LinearLayout + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <Button android:id="@+id/configure" + android:layout_width="0px" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/configure_wallpaper" + android:layout_gravity="center" /> + + <Button android:id="@+id/set" + android:layout_width="0px" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/wallpaper_instructions" + android:layout_gravity="center" /> + + </LinearLayout> + +</LinearLayout> diff --git a/res/layout/wallpaper_item.xml b/res/layout/wallpaper_item.xml new file mode 100644 index 0000000..6727483 --- /dev/null +++ b/res/layout/wallpaper_item.xml @@ -0,0 +1,22 @@ +<?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. +--> + +<ImageView xmlns:android="http://schemas.android.com/apk/res/android" + android:background="?android:attr/galleryItemBackground" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:scaleType="fitXY" + android:focusable="true" /> diff --git a/res/values/strings.xml b/res/values/strings.xml new file mode 100644 index 0000000..3a51485 --- /dev/null +++ b/res/values/strings.xml @@ -0,0 +1,37 @@ +<?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">Live Wallpaper Picker</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> + <!-- List item for configuring the current wallpaper --> + <string name="configure_wallpaper">Configure...</string> + <!-- Button label on Wallpaper Gallery screen; user selects this button to set a specific wallpaper --> + <string name="wallpaper_instructions">Set wallpaper</string> + <!-- Warning message, no live wallpapers available. --> + <string name="live_wallpaper_empty">No live wallpapers.</string> + <!-- Button label, action, sets the currently selected wallpaper. --> + <string name="set_live_wallpaper">Set wallpaper</string> + +</resources> |