From ae8ec5933c1a27578610e0f0513d9a778dba51c3 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Fri, 24 Mar 2017 11:40:51 -0700 Subject: [PATCH] Autoselect the text in `urlTextBox` when focused. Implements https://redmine.stoutner.com/issues/111. --- app/src/main/res/layout/url_app_bar.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2