diff options
| author | Jorim Jaggi <jjaggi@google.com> | 2014-09-02 14:59:06 +0200 |
|---|---|---|
| committer | Jorim Jaggi <jjaggi@google.com> | 2014-09-02 23:52:48 +0200 |
| commit | 5172dc2f36f9c417befd0957ce2ae20f9d083a88 (patch) | |
| tree | 69553ea9dc168935047da8578c74ebabd152bca5 /packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java | |
| parent | 1611c21dfdf102fa4eadd3cab4c7bd5fda061826 (diff) | |
| download | frameworks_base-5172dc2f36f9c417befd0957ce2ae20f9d083a88.zip frameworks_base-5172dc2f36f9c417befd0957ce2ae20f9d083a88.tar.gz frameworks_base-5172dc2f36f9c417befd0957ce2ae20f9d083a88.tar.bz2 | |
Status bar iconography updates
- Use new assets for location, flightmode and "more" notifications
icon.
- Update icon size and clock to spec.
- Change from fixed width of the icons to WRAP_CONTENT, so they look
more evenly distributed.
- Adjust subpixel rendering of battery icon to match other vector
icons.
Bug: 16161255
Change-Id: I0a80f223b7d532bc53a201cff37b8f1cb09f08c2
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java')
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java b/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java index 9da209a..5883c26 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java @@ -49,7 +49,7 @@ public class SignalClusterView ViewGroup mWifiGroup, mMobileGroup; ImageView mWifi, mMobile, mMobileType, mAirplane; - View mSpacer; + View mWifiAirplaneSpacer; public SignalClusterView(Context context) { this(context, null); @@ -77,8 +77,8 @@ public class SignalClusterView mMobileGroup = (ViewGroup) findViewById(R.id.mobile_combo); mMobile = (ImageView) findViewById(R.id.mobile_signal); mMobileType = (ImageView) findViewById(R.id.mobile_type); - mSpacer = findViewById(R.id.spacer); mAirplane = (ImageView) findViewById(R.id.airplane); + mWifiAirplaneSpacer = findViewById(R.id.wifi_airplane_spacer); apply(); } @@ -90,7 +90,6 @@ public class SignalClusterView mMobileGroup = null; mMobile = null; mMobileType = null; - mSpacer = null; mAirplane = null; super.onDetachedFromWindow(); @@ -198,10 +197,10 @@ public class SignalClusterView mAirplane.setVisibility(View.GONE); } - if (mMobileVisible && mWifiVisible && mIsAirplaneMode) { - mSpacer.setVisibility(View.INVISIBLE); + if (mIsAirplaneMode && mWifiVisible) { + mWifiAirplaneSpacer.setVisibility(View.VISIBLE); } else { - mSpacer.setVisibility(View.GONE); + mWifiAirplaneSpacer.setVisibility(View.GONE); } if (DEBUG) Log.d(TAG, |
