Fixed Health and XP bars bug for Marshmallow devices. Tested down to
Donut on x86 VM.
|
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 207 B |
|
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 222 B |
|
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 223 B |
@@ -1,12 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@android:id/background" android:drawable="@drawable/ui_bar_background">
|
||||
<item android:id="@android:id/background">
|
||||
<nine-patch android:src="@drawable/ui_bar_background"/>
|
||||
</item>
|
||||
<item android:id="@android:id/secondaryProgress">
|
||||
<clip>
|
||||
<nine-patch android:src="@drawable/ui_bar_background"/>
|
||||
</clip>
|
||||
</item>
|
||||
<item android:id="@android:id/progress">
|
||||
<clip>
|
||||
<nine-patch android:src="@drawable/ui_yellow_foreground" />
|
||||
</clip>
|
||||
</item>
|
||||
<!-- <item android:id="@android:id/secondaryProgress">
|
||||
<clip android:drawable="@drawable/ui_bar_background" />
|
||||
</item>
|
||||
<item android:id="@android:id/progress">
|
||||
<clip android:drawable="@drawable/ui_yellow_foreground" />
|
||||
</item>
|
||||
-->
|
||||
</layer-list>
|
||||
|
||||
@@ -1,13 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@android:id/background" android:drawable="@drawable/ui_bar_background">
|
||||
<item android:id="@android:id/background">
|
||||
<nine-patch android:src="@drawable/ui_bar_background"/>
|
||||
</item>
|
||||
<item android:id="@android:id/secondaryProgress">
|
||||
<clip android:drawable="@drawable/ui_bar_background" />
|
||||
<clip>
|
||||
<nine-patch android:src="@drawable/ui_bar_background"/>
|
||||
</clip>
|
||||
</item>
|
||||
<item android:id="@android:id/progress">
|
||||
<clip android:drawable="@drawable/ui_red_foreground" />
|
||||
<clip>
|
||||
<nine-patch android:src="@drawable/ui_red_foreground" />
|
||||
</clip>
|
||||
</item>
|
||||
|
||||
<!--
|
||||
|
||||
|
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 221 B |
|
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 224 B |
|
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 230 B |