summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-11-03 18:31:25 -0800
committerRomain Guy <romainguy@android.com>2009-11-03 18:31:25 -0800
commit02d03b0212e69dc08814b6f81e3bd3d819316013 (patch)
tree7bd8a0343c9cfd0b66ea95060a77588a577b5df1
parent520ad02138b82b8fe45d205cbaa4778e0f297a9e (diff)
downloadandroid_packages_wallpapers_LivePicker-02d03b0212e69dc08814b6f81e3bd3d819316013.tar.gz
android_packages_wallpapers_LivePicker-02d03b0212e69dc08814b6f81e3bd3d819316013.tar.bz2
android_packages_wallpapers_LivePicker-02d03b0212e69dc08814b6f81e3bd3d819316013.zip
Do not allow the selection of the live wallpaper title.
-rw-r--r--res/drawable-hdpi/focused_application_background.9.pngbin1454 -> 0 bytes
-rw-r--r--res/drawable/shortcut_selector.xml24
-rw-r--r--res/values/styles.xml2
-rw-r--r--src/com/android/wallpaper/livepicker/BubbleTextView.java1
4 files changed, 0 insertions, 27 deletions
diff --git a/res/drawable-hdpi/focused_application_background.9.png b/res/drawable-hdpi/focused_application_background.9.png
deleted file mode 100644
index 7bf37ef..0000000
--- a/res/drawable-hdpi/focused_application_background.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable/shortcut_selector.xml b/res/drawable/shortcut_selector.xml
deleted file mode 100644
index 09fec1b..0000000
--- a/res/drawable/shortcut_selector.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-**
-** Copyright 2007, 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.
-*/
--->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:state_window_focused="true" android:state_focused="true" android:drawable="@drawable/focused_application_background" />
- <item android:state_window_focused="false" android:state_focused="true" android:drawable="@android:color/transparent" />
-</selector>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 088b473..6e67ae0 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -28,11 +28,9 @@
<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:paddingTop">4dip</item>
<item name="android:paddingBottom">4dip</item>
<item name="android:paddingLeft">8dip</item>
<item name="android:paddingRight">8dip</item>
</style>
</resources>
-
diff --git a/src/com/android/wallpaper/livepicker/BubbleTextView.java b/src/com/android/wallpaper/livepicker/BubbleTextView.java
index 0b5778d..3ac5605 100644
--- a/src/com/android/wallpaper/livepicker/BubbleTextView.java
+++ b/src/com/android/wallpaper/livepicker/BubbleTextView.java
@@ -58,7 +58,6 @@ public class BubbleTextView extends TextView {
}
private void init() {
- setFocusable(true);
mBackground = getBackground();
setBackgroundDrawable(null);