Merge "Add wps icon to wifi panel" into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e99006f75b
BIN
res/drawable-hdpi/ic_wps.png
Normal file
BIN
res/drawable-hdpi/ic_wps.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
BIN
res/drawable-mdpi/ic_wps.png
Normal file
BIN
res/drawable-mdpi/ic_wps.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
res/drawable-xhdpi/ic_wps.png
Normal file
BIN
res/drawable-xhdpi/ic_wps.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
@@ -344,6 +344,7 @@ public class WifiSettings extends SettingsPreferenceFragment
|
||||
if (mSetupWizardMode) {
|
||||
// FIXME: add setIcon() when graphics are available
|
||||
menu.add(Menu.NONE, MENU_ID_WPS_PBC, 0, R.string.wifi_menu_wps_pbc)
|
||||
.setIcon(R.drawable.ic_wps)
|
||||
.setEnabled(wifiIsEnabled)
|
||||
.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
|
||||
menu.add(Menu.NONE, MENU_ID_ADD_NETWORK, 0, R.string.wifi_add_network)
|
||||
|
Reference in New Issue
Block a user