Revert "Fixed Health and XP bars bug for Marshmallow devices. Tested down to Donut on x86 VM."

This reverts commit 269c6567ae.
This commit is contained in:
Zukero
2016-04-26 13:31:37 +02:00
parent 269c6567ae
commit b32ee1dad8
8 changed files with 4 additions and 21 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 B

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 B

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 B

After

Width:  |  Height:  |  Size: 242 B

View File

@@ -1,24 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<nine-patch android:src="@drawable/ui_bar_background"/>
<item android:id="@android:id/background" android:drawable="@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>

View File

@@ -1,18 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<nine-patch android:src="@drawable/ui_bar_background"/>
<item android:id="@android:id/background" android:drawable="@drawable/ui_bar_background">
</item>
<item android:id="@android:id/secondaryProgress">
<clip>
<nine-patch android:src="@drawable/ui_bar_background"/>
</clip>
<clip android:drawable="@drawable/ui_bar_background" />
</item>
<item android:id="@android:id/progress">
<clip>
<nine-patch android:src="@drawable/ui_red_foreground" />
</clip>
<clip android:drawable="@drawable/ui_red_foreground" />
</item>
<!--

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 B

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 255 B