Skip to content

Commit

Permalink
Add previously unknown attribute types.
Browse files Browse the repository at this point in the history
These are not actively used, however @CunningLogic pointed them
out to me so I'm adding them for the time being. Will get around
to instrumenting them as they pop up in the future.
  • Loading branch information
strazzere committed Apr 25, 2016
1 parent 3ec55b5 commit 95b9f55
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions src/main/java/android/content/res/chunk/AttributeType.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,48 @@ public int getIntType() {
public int getIntType() {
return 0x12000008;
}
},
ATTR {
@Override
public int getIntType() {
return 0x02000008;
}
},
DIMEN {
@Override
public int getIntType() {
return 0x05000008;
}
},
FRACTION {
@Override
public int getIntType() {
return 0x06000008;
}
},
FLOAT {
@Override
public int getIntType() {
return 0x04000008;
}
},
FLAGS {
@Override
public int getIntType() {
return 0x11000008;
}
},
COLOR1 {
@Override
public int getIntType() {
return 0x1C000008;
}
},
COLOR2 {
@Override
public int getIntType() {
return 0x1D000008;
}
};

public abstract int getIntType();
Expand Down

0 comments on commit 95b9f55

Please sign in to comment.