am b47d07c2: am 0acf9a5b: Merge change 26539 into eclair

Merge commit 'b47d07c29d70f487ea21e91313947d18367796c2'

* commit 'b47d07c29d70f487ea21e91313947d18367796c2':
  Add density value to density enum.
This commit is contained in:
Xavier Ducrohet
2009-09-25 08:51:19 -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;
}
}
/**