Use custom preference.xml in XL.

A spacer are added on the left side of each preference, which isn't
needed in XL setup screen.

Change-Id: Ie3b8e04b492b4a4840ba1bbda4a413673734fbaa
This commit is contained in:
Daisuke Miyakawa
2010-11-08 12:17:19 -08:00
parent 38f8a1d0fa
commit 3dd06301fa
2 changed files with 66 additions and 0 deletions

View File

@@ -463,6 +463,7 @@ public class WifiSettings extends SettingsPreferenceFragment
//limit access points on set up wizard
int count = MAX_MENU_COUNT_IN_XL;
for (AccessPoint accessPoint : accessPoints) {
accessPoint.setLayoutResource(R.layout.custom_preference);
mAccessPoints.addPreference(accessPoint);
count--;
if (count <= 0) {