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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user