]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/domain_settings_fragment.xml
Allow specifying any font size. https://redmine.stoutner.com/issues/504
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / domain_settings_fragment.xml
index 8c28398c907e8a674aae8b8550bc32748b564628..30cbf0663aa4fad71eb5c0c481c1adcb9da3d6af 100644 (file)
                 android:layout_marginEnd="60dp"
                 android:inputType="textUri"
                 android:hint="@string/custom_user_agent"
-                android:importantForAutofill="no"
-                tools:targetApi="26" />
+                android:importantForAutofill="no" />
         </LinearLayout>
 
         <!-- Font Size. -->
             </LinearLayout>
 
             <TextView
-                android:id="@+id/font_size_textview"
+                android:id="@+id/default_font_size_textview"
                 android:layout_height="match_parent"
                 android:layout_width="match_parent"
                 android:layout_marginStart="45dp"
                 android:layout_marginEnd="36dp"
                 android:textSize="13sp" />
 
+            <EditText
+                android:id="@+id/custom_font_size_edittext"
+                android:layout_height="wrap_content"
+                android:layout_width="match_parent"
+                android:layout_marginStart="40dp"
+                android:layout_marginEnd="60dp"
+                android:inputType="number"
+                android:hint="@string/font_size"
+                android:importantForAutofill="no" />
         </LinearLayout>
 
         <!-- Swipe to Refresh. -->