]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/commitdiff
Autoselect the text in `urlTextBox` when focused. Implements https://redmine.stoutne...
authorSoren Stoutner <soren@stoutner.com>
Fri, 24 Mar 2017 18:40:51 +0000 (11:40 -0700)
committerSoren Stoutner <soren@stoutner.com>
Fri, 24 Mar 2017 18:40:51 +0000 (11:40 -0700)
app/src/main/res/layout/url_app_bar.xml

index 66cf287af5c16ad5e004e53fdad95f4fd4db6a58..a07c39e93103e896d79c9a6fb9bdbc2474ae0824 100644 (file)
@@ -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" />
 </RelativeLayout>
\ No newline at end of file