aboutsummaryrefslogtreecommitdiffstats
path: root/ide_common/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up the api around Layoutlib.Xavier Ducrohet2010-12-106-418/+362
| | | | | | | | | | | | | | | | | | | | | | | | Move (Style/DensityBased)ResourceValue into layoutlib_api and make the API use that instead of the interface. We'll get ride of the interfaces once only obsolete platforms use them. In ide-commons also got rid of LayoutBridgeWrapper and moved the code in LayoutLibrary which does not expose the bridge anymore, and instead expose an API similar to the LayoutBridge class. Updated ADT to use LayoutLibrary directly instead of going through LayoutLibrary.getBridge(). This allows us to hide some things like querying the API level and relying instead on Capabilities (with special handle for legacy bridges). Also added an error message to LayoutLibrary to display why it may have failed to load. Added a check to the API level and don't load layoutlib that are more recent than the client. Change-Id: Ie4e615d8d32485ee577bb88e95cd3f562bf590cb
* LayoutLib API: new log API + updated SceneStatus API.Xavier Ducrohet2010-12-061-6/+25
| | | | Change-Id: I8fe107397c2322cca979e7953d2be5933a59d0bf
* LayoutLib API: SceneResult API clean up.Xavier Ducrohet2010-12-031-1/+1
| | | | Change-Id: I1cb80da55f9ff16d0422eb6c4767448a4691b74b
* LayoutLib API: move add/moveChild API back to using index.Xavier Ducrohet2010-12-021-2/+3
| | | | | | Also add an optional data bundle to SceneResult. Change-Id: I9f9d4ca1f1f05d536a87a005a7939a6d42d0d8a4
* ADT/Layoutlib: update API to control how layout expands.Xavier Ducrohet2010-11-191-1/+3
| | | | | | | | | | | | | | Previous API was a single on/off to let the layouts expand at render time depending on how much space they needed. The new API can now control expansion is horizontal and/or vertical (or not at all) Basic implementation in the editor, with a manual detect of "ScrollView" as top element. We should make the ViewRule handle this somehow. Change-Id: Idc503bc0d1d3df98fbf01cc84625952ca55a8afb
* Rename layoutlib_utils into ide_common.Xavier Ducrohet2010-11-119-0/+874
Change-Id: Id243fe66e2ce577bc821ca454bca18444ebb5e7d