| Xavier Ducrohet | 6685d3a | 2011-01-27 13:10:25 -0800 | [diff] [blame^] | 1 | LayoutLib API is a jar describing the API used to load and interact with layoutlib.jar |
| 2 | It is to be packaged with clients accessing layoutlib.jar |
| 3 | |
| 4 | Layoutlib.jar is built from frameworks/base.git and therefore is versioned with the platform. |
| 5 | |
| 6 | IMPORTANT NOTE REGARDING CHANGES IN LAYOUTLIB_API: |
| 7 | |
| 8 | - The API must stay compatible. This is because while layoutlib.jar compiles against it, |
| 9 | the client provides the implementation and must be able to load earlier versions of layoutlib.jar. |
| 10 | This is true for all the classes under com.android.ide.common.rendering.api and |
| 11 | com.android.layoutlib.api although the latter is obsolete and should not be changed at all. |
| 12 | |
| 13 | - Updated version of layoutlib_api should be copied to the current in-dev branch of |
| 14 | prebuilt/common/layoutlib_api/layoutlib_api-prebuilt.jar |
| 15 | The PREBUILT file in the same folder must be updated as well to reflect how to rebuild this |
| 16 | prebuilt jar file. |