]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/url_app_bar.xml
Scroll to the beginning of the URL text box when it loses focus. https://redmine...
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / url_app_bar.xml
index a7397c3508f09192a107cbca5127f121b659108f..ef93af167fcad6ad8931b50e8208329436533c82 100644 (file)
@@ -38,7 +38,8 @@
         android:onClick="viewSslCertificate"
         android:contentDescription="@string/favorite_icon" />
 
-    <!-- `android:imeOptions="actionGo"` sets the keyboard to have a go key instead of a new line key.  `android:inputType="textUri"` disables spell check in the `EditText`. -->
+    <!-- `android:imeOptions="actionGo"` sets the keyboard to have a go key instead of a new line key.  `android:inputType="textUri"` disables spell check in the `EditText`.
+     `android:autofillHints` only applies to API >= 26.  `tools:ignore="UnusedAttribute"` removes the lint warning. -->
     <EditText
         android:id="@+id/url_edittext"
         android:layout_height="wrap_content"
@@ -47,5 +48,7 @@
         android:hint="@string/url_or_search_terms"
         android:imeOptions="actionGo"
         android:inputType="textUri"
-        android:selectAllOnFocus="true" />
+        android:selectAllOnFocus="true"
+        android:autofillHints=""
+        tools:ignore="UnusedAttribute" />
 </RelativeLayout>
\ No newline at end of file