summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShaleen Jain <shaleen.jain95@gmail.com>2016-03-04 15:07:35 +0530
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-03-07 15:55:33 -0800
commitf04180a1273c4b88be51eaa2df3623ce65bf1571 (patch)
treebb8e0b20ee0d7d7822cbb42a33f54bcb74b590e1
parent063b5f30bf46c731c3b913f2b791ab2254a002fd (diff)
downloadframeworks_base-f04180a1273c4b88be51eaa2df3623ce65bf1571.zip
frameworks_base-f04180a1273c4b88be51eaa2df3623ce65bf1571.tar.gz
frameworks_base-f04180a1273c4b88be51eaa2df3623ce65bf1571.tar.bz2
SystemUI: fix always_show_roaming
The roaming indicator overlaps with the signal view fix it to match the cm-12.1 layout and tint it as well RM-208 Change-Id: I3b070b867fbf070cdf20cf01eb67c8e4688ac881
-rw-r--r--packages/SystemUI/res/layout/mobile_signal_group.xml6
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java1
2 files changed, 4 insertions, 3 deletions
diff --git a/packages/SystemUI/res/layout/mobile_signal_group.xml b/packages/SystemUI/res/layout/mobile_signal_group.xml
index 0756e0a..abdbaf7 100644
--- a/packages/SystemUI/res/layout/mobile_signal_group.xml
+++ b/packages/SystemUI/res/layout/mobile_signal_group.xml
@@ -17,13 +17,13 @@
** limitations under the License.
*/
-->
-<FrameLayout
+<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res-auto"
android:id="@+id/mobile_combo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- >
+ android:orientation="horizontal">
<FrameLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content"
@@ -57,4 +57,4 @@
android:visibility="gone"
android:src="@drawable/stat_sys_data_roaming"
/>
-</FrameLayout>
+</LinearLayout>
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java b/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java
index 2233d13..1746693 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java
@@ -562,6 +562,7 @@ public class SignalClusterView
public void setIconTint(int tint, float darkIntensity) {
applyDarkIntensity(darkIntensity, mMobile, mMobileDark);
setTint(mMobileType, tint);
+ setTint(mMobileRoaming, tint);
}
}
}