am 62d4395b: Merge change I6dc8a694 into eclair

Merge commit '62d4395bdb3114b9a75e46140456bc54fd13a3e7' into eclair-mr2

* commit '62d4395bdb3114b9a75e46140456bc54fd13a3e7':
  Layoutlib: Add a constant for default density value.
This commit is contained in:
Xavier Ducrohet
2009-12-13 12:24:17 -08:00
committed by Android Git Automerger

View File

@ -20,12 +20,15 @@ package com.android.layoutlib.api;
* Represents an Android Resources that has a density info attached to it.
*/
public interface IDensityBasedResourceValue extends IResourceValue {
public static enum Density {
HIGH(240),
MEDIUM(160),
LOW(120),
NODPI(0);
public final static int DEFAULT_DENSITY = 160;
private final int mValue;
Density(int value) {