diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2020-03-06 09:36:04 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2020-03-06 16:46:36 +0100 |
commit | 8432df8bd8368b7b3d502e025fdae7d2cad06767 (patch) | |
tree | 6086421603d95f00d7dcc6bbf10bf9bda955f689 /android/source/res | |
parent | 01f58847bb1addb59e963fe820e01b8a191bacba (diff) |
android: Make keyboard in search bar show "search button"
... instead of "Enter" key that inserted a newline when clicked.
Instead, start a search in downward direction when the search button
is clicked, which makes using the search feature more intuitive.
I quickly tested with both, Writer and Calc.
Change-Id: Iffc9f6115e558721b34d8fb4ae2ed4a36c4a7aa5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90092
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android/source/res')
-rw-r--r-- | android/source/res/layout/toolbar_bottom.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/source/res/layout/toolbar_bottom.xml b/android/source/res/layout/toolbar_bottom.xml index 7688dd4f01fc..f4b3f3c5f8cc 100644 --- a/android/source/res/layout/toolbar_bottom.xml +++ b/android/source/res/layout/toolbar_bottom.xml @@ -435,7 +435,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="0.2" - android:inputType="" /> + android:imeOptions="actionSearch" + android:inputType="text" /> <ImageButton android:id="@+id/button_search_down" |