am a7d461e0: am 62d4395b: Merge change I6dc8a694 into eclair

Merge commit 'a7d461e09adf716c2148b45a5d94f5b8cb37f9ba' into eclair-mr2-plus-aosp

* commit 'a7d461e09adf716c2148b45a5d94f5b8cb37f9ba':
  Layoutlib: Add a constant for default density value.
This commit is contained in:
Xavier Ducrohet
2009-12-13 12:34:01 -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) {