]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/view_source_app_bar.xml
Bump the minimum API to 23. https://redmine.stoutner.com/issues/793
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / view_source_app_bar.xml
index 4f957a34fe78c7e8bb8c5d0bd391169f59e9420e..4da96083d45a31e659d03b8c20a8684e108865d4 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  Copyright © 2015-2018 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2015-2020 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
 
 <!-- `RelativeLayout` is used instead of a `LinearLayout` because `supportAppBar` does not let `android:layout_weight="1"` cause `urlTextBox` to fill all the available space. -->
 <RelativeLayout
     xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_height="wrap_content"
-    android:layout_width="match_parent"
-    tools:context=".activities.ViewSourceActivity" >
+    android:layout_width="match_parent" >
 
     <ImageView
         android:id="@+id/back_arrow"
         android:src="@drawable/back"
-        android:tint="?attr/viewSourceIconTintColor"
+        app:tint="?attr/colorControlNormal"
         android:layout_height="wrap_content"
         android:layout_width="wrap_content"
         android:layout_centerVertical="true"
@@ -47,5 +47,6 @@
         android:hint="@string/url"
         android:imeOptions="actionGo"
         android:inputType="textUri"
-        android:selectAllOnFocus="true" />
+        android:selectAllOnFocus="true"
+        tools:ignore="Autofill" />
 </RelativeLayout>
\ No newline at end of file