diff options
author | Maurice Lam <yukl@google.com> | 2015-03-05 11:20:47 -0800 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2015-03-11 23:03:07 +0000 |
commit | b484340e3d8b7d005dcf7466c4fa463a808b96c4 (patch) | |
tree | a530d291a11108e0c6ffe7d34d424763d43ac7fd /res/layout-sw600dp | |
parent | bc614dfcb59a8a58dbb20e54535e58aba69bd27c (diff) | |
download | packages_apps_Settings-b484340e3d8b7d005dcf7466c4fa463a808b96c4.zip packages_apps_Settings-b484340e3d8b7d005dcf7466c4fa463a808b96c4.tar.gz packages_apps_Settings-b484340e3d8b7d005dcf7466c4fa463a808b96c4.tar.bz2 |
[WifiSettings] Refactor Wi-Fi required info
Instead of using an invisible TextView in the layout itself, make the
required info a list header. This paves way for using the Setup
Wizard library by including all the required contents in the ListView
itself.
The required info is not shown since Lollipop, but can be tested with
adb shell am start -a "com.android.net.wifi.SETUP_WIFI_NETWORK" \
--es theme material_light \
--ez useImmersiveMode true \
--ez wifi_show_wifi_required_info true
Bug: 19698532
Change-Id: I5a7da726b2f49af7dd755b41c73e1a1b4349699c
Diffstat (limited to 'res/layout-sw600dp')
-rw-r--r-- | res/layout-sw600dp/setup_preference.xml | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/res/layout-sw600dp/setup_preference.xml b/res/layout-sw600dp/setup_preference.xml index ec6d2ac..cc12003 100644 --- a/res/layout-sw600dp/setup_preference.xml +++ b/res/layout-sw600dp/setup_preference.xml @@ -51,15 +51,6 @@ android:elevation="@dimen/setup_wizard_card_elevation" android:orientation="vertical"> - <TextView - android:id="@+id/wifi_required_info" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginBottom="6dp" - android:text="@string/wifi_required_info_text" - android:textAppearance="?android:attr/textAppearanceMedium" - android:visibility="gone" /> - <ListView android:id="@android:id/list" android:layout_width="match_parent" |