路径:frameworks\base\packages\SystemUI\src\com\android\systemui\statusbar\phone\PhoneStatusBar.java (+1165)行
方法:
@@ -299,7 +299,7 @@ public class PhoneStatusBar extends BaseStatusBar {
"selfChange=%s userSetup=%s mUserSetup=%s",
selfChange, userSetup, mUserSetup));
if (mSettingsButton != null && mHasFlipSettings) {
- mSettingsButton.setVisibility(userSetup ? View.VISIBLE : View.INVISIBLE);
+ mSettingsButton.setVisibility(userSetup ? View.GONE : View.GONE);
@@ -449,7 +449,7 @@ public class PhoneStatusBar extends BaseStatusBar {
if (mStatusBarView.hasFullWidthNotifications()) {
// the settings panel is hiding behind this button
mSettingsButton.setImageResource(R.drawable.ic_notify_quicksettings);
- mSettingsButton.setVisibility(View.VISIBLE);
+ mSettingsButton.setVisibility(View.GONE);
@@ -1603,7 +1603,7 @@ public class PhoneStatusBar extends BaseStatusBar {
mScrollView.setScaleX(1f);
mScrollView.setVisibility(View.VISIBLE);
mSettingsButton.setAlpha(1f);
- mSettingsButton.setVisibility(View.VISIBLE);
+ mSettingsButton.setVisibility(View.GONE);
方法:
@@ -299,7 +299,7 @@ public class PhoneStatusBar extends BaseStatusBar {
"selfChange=%s userSetup=%s mUserSetup=%s",
selfChange, userSetup, mUserSetup));
if (mSettingsButton != null && mHasFlipSettings) {
- mSettingsButton.setVisibility(userSetup ? View.VISIBLE : View.INVISIBLE);
+ mSettingsButton.setVisibility(userSetup ? View.GONE : View.GONE);
@@ -449,7 +449,7 @@ public class PhoneStatusBar extends BaseStatusBar {
if (mStatusBarView.hasFullWidthNotifications()) {
// the settings panel is hiding behind this button
mSettingsButton.setImageResource(R.drawable.ic_notify_quicksettings);
- mSettingsButton.setVisibility(View.VISIBLE);
+ mSettingsButton.setVisibility(View.GONE);
@@ -1603,7 +1603,7 @@ public class PhoneStatusBar extends BaseStatusBar {
mScrollView.setScaleX(1f);
mScrollView.setVisibility(View.VISIBLE);
mSettingsButton.setAlpha(1f);
- mSettingsButton.setVisibility(View.VISIBLE);
+ mSettingsButton.setVisibility(View.GONE);