]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/commitdiff
Add the option to display the password in the HTTP authentication dialog. https...
authorSoren Stoutner <soren@stoutner.com>
Mon, 25 Jan 2021 19:51:06 +0000 (12:51 -0700)
committerSoren Stoutner <soren@stoutner.com>
Mon, 25 Jan 2021 19:51:06 +0000 (12:51 -0700)
app/src/main/res/layout/http_authentication_dialog.xml

index 6698e2152e55e5a7a92efcfdb6b9069cad1a7028..30babc66a2743d39993990143bda4544fbdabe61 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  Copyright © 2017,2019-2020 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2017,2019-2021 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
 
@@ -20,6 +20,7 @@
 
 <ScrollView
     xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_height="wrap_content"
     android:layout_width="match_parent" >
 
@@ -71,7 +72,8 @@
         <!-- The `TextInputLayout` makes the `android:hint` float above the `EditText`. -->
         <com.google.android.material.textfield.TextInputLayout
             android:layout_height="wrap_content"
-            android:layout_width="match_parent" >
+            android:layout_width="match_parent"
+            app:passwordToggleEnabled="true" >
 
             <!-- `android:imeOptions="actionGo"` sets the keyboard to have a `go` key instead of a `new line` key. -->
             <com.google.android.material.textfield.TextInputEditText