aboutsummaryrefslogtreecommitdiffstats
path: root/layoutlib_api
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2010-11-09 19:02:41 -0800
committerXavier Ducrohet <xav@android.com>2010-11-09 19:54:11 -0800
commite18a2c705ba3190016362b968040aeaf8bd36dd4 (patch)
tree8fe07efe663dca4b35ca940e59f1a463e605bc08 /layoutlib_api
parent815bf3a0c0f27daa66e2bf0b686d4448c71096b2 (diff)
downloadsdk-e18a2c705ba3190016362b968040aeaf8bd36dd4.zip
sdk-e18a2c705ba3190016362b968040aeaf8bd36dd4.tar.gz
sdk-e18a2c705ba3190016362b968040aeaf8bd36dd4.tar.bz2
Minor update to the layoutlib API.
Diffstat (limited to 'layoutlib_api')
-rw-r--r--layoutlib_api/src/com/android/layoutlib/api/ILayoutBridge.java4
-rw-r--r--layoutlib_api/src/com/android/layoutlib/api/ILayoutScene.java2
2 files changed, 4 insertions, 2 deletions
diff --git a/layoutlib_api/src/com/android/layoutlib/api/ILayoutBridge.java b/layoutlib_api/src/com/android/layoutlib/api/ILayoutBridge.java
index 505e2c0..103525c 100644
--- a/layoutlib_api/src/com/android/layoutlib/api/ILayoutBridge.java
+++ b/layoutlib_api/src/com/android/layoutlib/api/ILayoutBridge.java
@@ -74,7 +74,9 @@ public interface ILayoutBridge {
boolean dispose();
/**
- * Computes and renders a layout
+ * Starts a layout session by inflating and rendering it. The method returns a
+ * {@link ILayoutScene} on which further actions can be taken.
+ *
* @param layoutDescription the {@link IXmlPullParser} letting the LayoutLib Bridge visit the
* layout file.
* @param projectKey An Object identifying the project. This is used for the cache mechanism.
diff --git a/layoutlib_api/src/com/android/layoutlib/api/ILayoutScene.java b/layoutlib_api/src/com/android/layoutlib/api/ILayoutScene.java
index 94eca2f..125266e 100644
--- a/layoutlib_api/src/com/android/layoutlib/api/ILayoutScene.java
+++ b/layoutlib_api/src/com/android/layoutlib/api/ILayoutScene.java
@@ -52,7 +52,7 @@ public interface ILayoutScene {
/**
* Returns the result for the original call to {@link ILayoutBridge#startLayout(IXmlPullParser, Object, int, int, boolean, int, float, float, String, boolean, java.util.Map, java.util.Map, IProjectCallback, ILayoutLog)}
*/
- ILayoutResult getStatus();
+ ILayoutResult getResult();
/**
* Returns the {@link ILayoutViewInfo} object for the top level view.