diff options
author | Xavier Ducrohet <xav@android.com> | 2011-01-27 13:10:25 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-01-27 15:43:01 -0800 |
commit | 6685d3a8cb5fe1374e36358c1436a70c6bca1659 (patch) | |
tree | c33e4a93f88af21b57de381d9ae730d40ce4e547 /layoutlib_api/src/com/android/layoutlib/api | |
parent | 1a90318f6a72ea6111919ab1484f702b2a08bbc0 (diff) | |
download | sdk-6685d3a8cb5fe1374e36358c1436a70c6bca1659.zip sdk-6685d3a8cb5fe1374e36358c1436a70c6bca1659.tar.gz sdk-6685d3a8cb5fe1374e36358c1436a70c6bca1659.tar.bz2 |
Update the Layoutlib API to contain part of the current config.
Right now only the screen size is needed. We can add more to Params
as needed.
Since we should use the existing enum classes for this, I moved
all the current enum from sdklib into a new jar file called
resources.jar.
ADT, sdklib, layoutlib_api all depend on it.
Changes to resources should always be API compatible and the result
should be copied into the in-dev platform branch in prebuilt, similar
to layoutlib_api. See the README.txt files in layoutlib_api/ and
resources/
Change-Id: I877ba3cad555ec497954bb0866639e51e7751020
Diffstat (limited to 'layoutlib_api/src/com/android/layoutlib/api')
-rw-r--r-- | layoutlib_api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/layoutlib_api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java b/layoutlib_api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java index 4e55d54..dce907c 100644 --- a/layoutlib_api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java +++ b/layoutlib_api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java @@ -17,7 +17,6 @@ package com.android.layoutlib.api; import com.android.ide.common.rendering.api.DensityBasedResourceValue; -import com.android.ide.common.rendering.api.ResourceDensity; /** * Represents an Android Resources that has a density info attached to it. @@ -29,7 +28,7 @@ public interface IDensityBasedResourceValue extends IResourceValue { /** * Density. * - * @deprecated use {@link ResourceDensity}. + * @deprecated use {@link com.android.resources.Density}. */ @Deprecated public static enum Density { |