Add WEP warning.

Test: Visual Test
Fix: 318797664
Change-Id: Id713ddf2d805b7ce47fe1e620a3273b86cdb3dfe
This commit is contained in:
Charlotte Lu
2024-01-18 17:53:44 +08:00
parent 739f6ff69a
commit 628ebac9e2
4 changed files with 31 additions and 2 deletions

View File

@@ -18,8 +18,7 @@
<androidx.core.widget.NestedScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fitsSystemWindows="true">
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -22,6 +22,19 @@
android:orientation="vertical"
android:paddingBottom="8dip">
<LinearLayout android:id="@+id/wep_warning_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="20dp"
style="@style/wifi_item"
android:visibility="gone">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/wifi_item_label"
android:text="@string/wifi_settings_warning_wep_network"/>
</LinearLayout>
<LinearLayout android:id="@+id/info"
android:layout_width="match_parent"
android:layout_height="wrap_content"