From a361eca7994d24b258acbb049951528966114217 Mon Sep 17 00:00:00 2001 From: Weng Su Date: Wed, 5 Mar 2025 03:20:36 +0800 Subject: [PATCH] Fixed EditText Talkback issue in VPN Settings - Use Material3 TextInputLay & TextInputEditText to replace TextView & EditText Bug: 386014810 Flag: EXEMPT resource file only update Test: Manual testing Change-Id: I19ea8f64569173367c84e39fe9e892ecebdf2e2a --- res/layout/vpn_dialog.xml | 134 +++++++++++++++++++++++++------------- 1 file changed, 87 insertions(+), 47 deletions(-) diff --git a/res/layout/vpn_dialog.xml b/res/layout/vpn_dialog.xml index 062772ee892..fadd2025f14 100644 --- a/res/layout/vpn_dialog.xml +++ b/res/layout/vpn_dialog.xml @@ -13,7 +13,10 @@ See the License for the specific language governing permissions and limitations under the License. --> - - - + + - - + + - - + + + - - + + android:inputType="textPassword"/> + - + android:id="@+id/vpn_proxy_host_layout" + android:hint="@string/proxy_hostname_label" + app:endIconMode="clear_text" + app:helperTextEnabled="true" + app:helperText="@string/proxy_hostname_hint" + app:errorEnabled="true"> + + - - - - - + android:id="@+id/vpn_proxy_port_layout" + android:hint="@string/proxy_port_label" + app:endIconMode="clear_text" + app:helperTextEnabled="true" + app:helperText="@string/proxy_port_hint" + app:errorEnabled="true"> + + @@ -182,18 +212,28 @@ android:layout_height="wrap_content" android:orientation="vertical"> - - + + - - + + android:inputType="textPassword"/> +