Fixes improper decoding of @empty value

- fixes #1270
 - references #1116
This commit is contained in:
Connor Tumbleson 2016-06-13 08:40:00 -04:00
parent 606e47bf55
commit a684bae43a
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75
3 changed files with 7 additions and 10 deletions

View File

@ -17,14 +17,10 @@
package brut.androlib.res.data.value;
import brut.androlib.AndrolibException;
import brut.androlib.res.data.ResResource;
import brut.androlib.res.xml.ResValuesXmlSerializable;
import java.io.IOException;
import org.xmlpull.v1.XmlSerializer;
public class ResEmptyValue extends ResScalarValue {
protected final int mValue;
private int type;
protected int type;
public ResEmptyValue(int value, String rawValue, int type) {
this(value, rawValue, "integer");

View File

@ -3,6 +3,7 @@
<style name="TextAppearance" parent="@android:style/TextAppearance" />
<style name="TextAppearance.EditEvent_Label" parent="@style/TextAppearance">
<item name="android:gravity">center_vertical</item>
<item name="android:popupAnimationStyle">@empty</item>
</style>
<style name="TextAppearance.EditEvent_Button" parent="@style/TextAppearance.EditEvent_Label">
<item name="android:textColor">#ff777777</item>