From aafeef310fab2b2e62850b09fe25411e65fe3171 Mon Sep 17 00:00:00 2001 From: Mike LeBeau Date: Thu, 2 Jul 2009 15:58:21 -0700 Subject: 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. --- res/layout/widget_search.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/layout') 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" -- cgit v1.2.3