am 632c9e2d: am 065ce2e8: am 5c166c9c: Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
* commit '632c9e2dabc44b24f04c3418e4a3540b22db792b': Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 762 B |
|
Before Width: | Height: | Size: 885 B After Width: | Height: | Size: 1.4 KiB |
@@ -6,10 +6,12 @@
|
|||||||
android:layout_weight="1"/>
|
android:layout_weight="1"/>
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="wrap_content"/>
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_marginTop="1dp"/>
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_marginLeft="3dip"
|
android:layout_marginLeft="3dp"
|
||||||
android:layout_marginRight="5dip"/>
|
android:layout_marginRight="5dp"
|
||||||
|
android:layout_marginTop="1dp"/>
|
||||||
</merge>
|
</merge>
|
||||||
|
|||||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
@@ -42,10 +42,7 @@ public class StatusBar extends CustomBar {
|
|||||||
// We do know the order though.
|
// We do know the order though.
|
||||||
// 0 is the spacer
|
// 0 is the spacer
|
||||||
loadIcon(1, "stat_sys_wifi_signal_4_fully.png", density);
|
loadIcon(1, "stat_sys_wifi_signal_4_fully.png", density);
|
||||||
Drawable drawable = loadIcon(2, ResourceType.DRAWABLE, "stat_sys_battery_charge");
|
loadIcon(2, "stat_sys_battery_charge_anim100.png", density);
|
||||||
if (drawable instanceof LevelListDrawable) {
|
|
||||||
((LevelListDrawable) drawable).setLevel(100);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||