]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/domain_settings_fragment.xml
Add option to download with external program. https://redmine.stoutner.com/issues/333
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / domain_settings_fragment.xml
index d71868b2c9076e3d3f8c7e03d5a3d971e8c346ef..f2c8fb64fac8ac18c621a78a2a163c93e6658a28 100644 (file)
                 android:layout_marginEnd="36dp"
                 android:textSize="13sp" />
 
-            <!-- `android:autofillHints` only applies to API >= 26.  `tools:ignore="UnusedAttribute"` removes the lint warning. -->
             <EditText
                 android:id="@+id/domain_settings_custom_user_agent_edittext"
                 android:layout_height="wrap_content"
                 android:layout_marginEnd="60dp"
                 android:inputType="textUri"
                 android:hint="@string/custom_user_agent"
-                android:autofillHints=""
-                tools:ignore="UnusedAttribute" />
+                android:importantForAutofill="no"
+                tools:targetApi="26" />
         </LinearLayout>
 
         <!-- Font Size. -->
                     android:layout_marginTop="1dp"
                     android:layout_marginEnd="10dp"
                     android:layout_gravity="center_vertical"
-                    android:contentDescription="@string/swipe_to_refresh_preference" />
+                    android:contentDescription="@string/swipe_to_refresh" />
 
                 <Spinner
                     android:id="@+id/domain_settings_swipe_to_refresh_spinner"