summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorMike LeBeau <mlebeau@android.com>2009-07-06 11:17:50 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-07-06 11:17:50 -0700
commit5f9510f1c1eef373accf8f369121f81db544598d (patch)
treeb679595e3dca136d9f19a37543c5566da150499d /res
parent81e6e469004f9eccf0737dbd1f43faebce051eee (diff)
parentaafeef310fab2b2e62850b09fe25411e65fe3171 (diff)
downloadandroid_packages_apps_Trebuchet-5f9510f1c1eef373accf8f369121f81db544598d.tar.gz
android_packages_apps_Trebuchet-5f9510f1c1eef373accf8f369121f81db544598d.tar.bz2
android_packages_apps_Trebuchet-5f9510f1c1eef373accf8f369121f81db544598d.zip
am aafeef31: Fix the search widget taking characters into it rather than forwarding them to the search dialog. By setting editable=false and inputType=none, the TextView can still take focus, but key input is forwarded to the launcher which knows what to do.
Merge commit 'aafeef310fab2b2e62850b09fe25411e65fe3171' * commit 'aafeef310fab2b2e62850b09fe25411e65fe3171': Fix the search widget taking characters into it rather than forwarding
Diffstat (limited to 'res')
-rw-r--r--res/layout/widget_search.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/widget_search.xml b/res/layout/widget_search.xml
index 841b1550d..7ecf5bf6d 100644
--- a/res/layout/widget_search.xml
+++ b/res/layout/widget_search.xml
@@ -40,7 +40,7 @@
android:layout_height="wrap_content"
android:layout_weight="1.0"
android:editable="false"
- android:inputType="text"
+ android:inputType="none"
android:background="@drawable/textfield_searchwidget"
android:textAppearance="?android:attr/textAppearanceMediumInverse"
android:textColor="@android:color/primary_text_light"