summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorMike LeBeau <mlebeau@android.com>2009-07-02 15:58:21 -0700
committerMike LeBeau <mlebeau@android.com>2009-07-02 18:23:15 -0700
commitaafeef310fab2b2e62850b09fe25411e65fe3171 (patch)
treec180b7f6fc7898b2e37bb10842263440dff5087b /res/layout
parent736cf281f403b2c6bdee3569dd9862011726a93c (diff)
downloadpackages_apps_trebuchet-aafeef310fab2b2e62850b09fe25411e65fe3171.zip
packages_apps_trebuchet-aafeef310fab2b2e62850b09fe25411e65fe3171.tar.gz
packages_apps_trebuchet-aafeef310fab2b2e62850b09fe25411e65fe3171.tar.bz2
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.
Diffstat (limited to 'res/layout')
-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 841b155..7ecf5bf 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"