From: Soren Stoutner Date: Fri, 24 Mar 2017 18:40:51 +0000 (-0700) Subject: Autoselect the text in `urlTextBox` when focused. Implements https://redmine.stoutne... X-Git-Tag: v2.1~3 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=ae8ec5933c1a27578610e0f0513d9a778dba51c3;p=PrivacyBrowserAndroid.git Autoselect the text in `urlTextBox` when focused. Implements https://redmine.stoutner.com/issues/111. --- diff --git a/app/src/main/res/layout/url_app_bar.xml b/app/src/main/res/layout/url_app_bar.xml index 66cf287a..a07c39e9 100644 --- a/app/src/main/res/layout/url_app_bar.xml +++ b/app/src/main/res/layout/url_app_bar.xml @@ -48,5 +48,6 @@ android:layout_toEndOf="@id/favorite_icon" android:hint="@string/url_or_search_terms" android:imeOptions="actionGo" - android:inputType="textUri" /> + android:inputType="textUri" + android:selectAllOnFocus="true" /> \ No newline at end of file