Revamp the network detail page

1. Update the title to be wifi name
2. Add "Advanced" category

Bug: 68029969
Test: Screenshot
Change-Id: Ie0502b22336de7af2c2b1b706b51f340685b2413
This commit is contained in:
jackqdyulei
2017-12-18 11:07:35 -08:00
parent 444989ad35
commit 0a40de6938
2 changed files with 5 additions and 2 deletions

View File

@@ -14,7 +14,10 @@
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
settings:initialExpandedChildrenCount="5">
<com.android.settings.applications.LayoutPreference
android:key="connection_header"

View File

@@ -881,7 +881,7 @@ public class WifiSettings extends RestrictedSettingsFragment
SettingsActivity activity = (SettingsActivity) WifiSettings.this.getActivity();
activity.startPreferencePanel(this,
WifiNetworkDetailsFragment.class.getName(), pref.getExtras(),
R.string.wifi_details_title, null, null, 0);
-1 /* resId */, pref.getTitle(), null, 0 /* resultRequestCode */);
});
pref.refresh();