am 0acf9a5b: Merge change 26539 into eclair

Merge commit '0acf9a5b2f81413641d3d139ae6fd5f9df621e5f' into eclair-plus-aosp

* commit '0acf9a5b2f81413641d3d139ae6fd5f9df621e5f':
  Add density value to density enum.
This commit is contained in:
Xavier Ducrohet
2009-09-23 10:40:15 -07:00
committed by Android Git Automerger

View File

@@ -21,7 +21,20 @@ package com.android.layoutlib.api;
*/
public interface IDensityBasedResourceValue extends IResourceValue {
public static enum Density {
HIGH, MEDIUM, LOW, NODPI;
HIGH(240),
MEDIUM(160),
LOW(120),
NODPI(0);
private final int mValue;
Density(int value) {
mValue = value;
}
public int getValue() {
return mValue;
}
}
/**