diff options
author | Xavier Ducrohet <xav@android.com> | 2011-01-25 13:38:52 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-01-25 14:06:59 -0800 |
commit | d7b0f0de4f0b55c137443aab782a8051a34fe70f (patch) | |
tree | 1321eef95465cee0663bb2f56521b4621103359a /layoutlib_api/src/com/android/ide/common/rendering/api/Bridge.java | |
parent | 2141a8a9e9babdee533217b26a1fc4bf008240a4 (diff) | |
download | sdk-d7b0f0de4f0b55c137443aab782a8051a34fe70f.zip sdk-d7b0f0de4f0b55c137443aab782a8051a34fe70f.tar.gz sdk-d7b0f0de4f0b55c137443aab782a8051a34fe70f.tar.bz2 |
LayoutLib API update: build properties and multi ViewInfo results.
The build properties are needed to populate android.os.Build
The multi ViewInfo results are needed to access all the top
level children of a merge layout.
Change-Id: I49638ae76aaf9e83dc4a0a73c3e7966d7b0a14a3
Diffstat (limited to 'layoutlib_api/src/com/android/ide/common/rendering/api/Bridge.java')
-rw-r--r-- | layoutlib_api/src/com/android/ide/common/rendering/api/Bridge.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/layoutlib_api/src/com/android/ide/common/rendering/api/Bridge.java b/layoutlib_api/src/com/android/ide/common/rendering/api/Bridge.java index 79741ea..d014b6c 100644 --- a/layoutlib_api/src/com/android/ide/common/rendering/api/Bridge.java +++ b/layoutlib_api/src/com/android/ide/common/rendering/api/Bridge.java @@ -50,13 +50,16 @@ public abstract class Bridge { /** * Initializes the Bridge object. * + * @param platformProperties The build properties for the platform. * @param fontLocation the location of the fonts. * @param enumValueMap map attrName => { map enumFlagName => Integer value }. This is typically * read from attrs.xml in the SDK target. * @param log a {@link LayoutLog} object. Can be null. * @return true if success. */ - public boolean init(File fontLocation, Map<String, Map<String, Integer>> enumValueMap, + public boolean init(Map<String, String> platformProperties, + File fontLocation, + Map<String, Map<String, Integer>> enumValueMap, LayoutLog log) { return false; } |