diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2023-11-22 09:42:16 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2023-11-22 15:37:30 +0100 |
commit | 55936f6ad8fb73d8b78a843de378758cc31009ad (patch) | |
tree | d1e9a9a7cd9cdbf65b9fe9dc08ffe73d354921cf /android/source/res/layout | |
parent | abed55b1ea7f04a0a522d54e369d170a71045cd5 (diff) |
android: Set autofill hints in Calc toolbar
Set autofill hints for the address and formula
text edits in the Android Viewer Calc toolbar as
described at [1] to address warnings that Android
Studio shows about these not being specified.
[1] https://developer.android.com/reference/androidx/autofill/HintConstants
Change-Id: I1ac7a5babddf3c328145b9f2194d10bb701aa4f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159810
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android/source/res/layout')
-rw-r--r-- | android/source/res/layout/activity_main.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/android/source/res/layout/activity_main.xml b/android/source/res/layout/activity_main.xml index c03f0c93aea9..cb43a43a3e1e 100644 --- a/android/source/res/layout/activity_main.xml +++ b/android/source/res/layout/activity_main.xml @@ -46,7 +46,8 @@ android:layout_weight="0" android:inputType="textNoSuggestions" android:imeOptions="actionDone|actionGo" - android:visibility="gone"/> + android:visibility="gone" + android:importantForAutofill="no" /> <EditText android:id="@+id/calc_formula" @@ -55,7 +56,8 @@ android:layout_weight="1" android:inputType="text" android:imeOptions="actionDone|actionGo" - android:visibility="gone"/> + android:visibility="gone" + android:importantForAutofill="no" /> </LinearLayout> |