Add additional preference items to WifiSettings for configuring Wi-Fi.
Removed the gear icon that links to ConfigureWifiSettings activity, and added links to ConfigureWifiSettings and SavedAccessPointSettings. Included these links in the wifi disabled screen. Also refactored code to have dividers between wifi list and other settings, and changed refresh menu item to a button. Bug: 34518148 Bug: 33110624 Test: Manual inspection Change-Id: Ie40935f553faea59b7a76fc050d970d431cef5ad
This commit is contained in:
@@ -14,14 +14,23 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
||||
android:title="@string/wifi_settings"
|
||||
settings:keywords="@string/keywords_wifi">
|
||||
|
||||
<!-- Needed so PreferenceGroupAdapter allows AccessPointPreference to be
|
||||
recycled. Removed in onResume -->
|
||||
<com.android.settings.wifi.LongPressAccessPointPreference
|
||||
android:key="dummy" />
|
||||
<PreferenceCategory android:key="access_points"/>
|
||||
|
||||
<PreferenceCategory android:key="additional_settings">
|
||||
<Preference
|
||||
android:key="configure_settings"
|
||||
android:title="@string/wifi_configure_settings_preference_title"
|
||||
android:fragment="com.android.settings.wifi.ConfigureWifiSettings" />
|
||||
|
||||
<Preference
|
||||
android:key="saved_networks"
|
||||
android:title="@string/wifi_saved_access_points_label"
|
||||
android:fragment="com.android.settings.wifi.SavedAccessPointsWifiSettings" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user