BearND has submitted this change and it was merged. Change subject: Restrict search EditText to single line (including hint). ......................................................................
Restrict search EditText to single line (including hint). On some smaller devices, the hint text ("Search Wikipedia Zero") overflows into two lines, even though "singleLine" is set to true. Change-Id: Id5d4a71a5405a80e0f26456744412fc22e535cdb --- M wikipedia/res/layout/fragment_search.xml 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: BearND: Verified; Looks good to me, approved jenkins-bot: Verified diff --git a/wikipedia/res/layout/fragment_search.xml b/wikipedia/res/layout/fragment_search.xml index b7cff42..86c788b 100644 --- a/wikipedia/res/layout/fragment_search.xml +++ b/wikipedia/res/layout/fragment_search.xml @@ -56,6 +56,7 @@ android:padding="8dp" android:selectAllOnFocus="true" android:singleLine="true" + android:ellipsize="end" android:maxLength="255" android:imeOptions="actionGo" android:textCursorDrawable="@null" -- To view, visit https://gerrit.wikimedia.org/r/146792 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id5d4a71a5405a80e0f26456744412fc22e535cdb Gerrit-PatchSet: 2 Gerrit-Project: apps/android/wikipedia Gerrit-Branch: master Gerrit-Owner: Dbrant <dbr...@wikimedia.org> Gerrit-Reviewer: BearND <bsitzm...@wikimedia.org> Gerrit-Reviewer: Brion VIBBER <br...@wikimedia.org> Gerrit-Reviewer: Yuvipanda <yuvipa...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits