aboutsummaryrefslogtreecommitdiffstats
path: root/layoutlib_api/sample
Commit message (Collapse)AuthorAgeFilesLines
* SDK: Delete projects moved to tools/base or tools/swt.Raphael Moll2013-03-1320-1284/+0
| | | | Change-Id: Iba15f82cb00d19217382c78d8ff37dda1e97ea59
* Rename ide_common to sdk_commonSiva Velusamy2012-09-182-2/+2
| | | | Change-Id: I1b39ee439a532f3f6758be35b569948e2e906665
* Move kxml2 to prebuilts/miscJean-Baptiste Queru2012-04-301-1/+1
| | | | Change-Id: I3a939238911ae7c09bb75b27e1ce623777cd4e18
* Fix value parser to handle attr values not in declare-styleable.Xavier Ducrohet2011-06-242-16/+34
| | | | | | | Also change the layoutlib sample code to properly get the list of framework attr flag/enum values. Change-Id: Ie0bf126a0fab574d94d0f86b7b2f8581cf4eaae3
* Sample code to use the layout rendering library.Xavier Ducrohet2011-06-2320-0/+1266
This is very basic sample code showing how to render a layout. This explains how to load the resources, create Folderconfig, ResourceResolver, and how to call the LayoutLibrary to do an actual render. There are some big limitations: - can't render custom views because there's nothing compiling them and generating the compiled R.class file. - not all features of ADT are present because there are things that don't make sense outside of an editor (render in context, expand empty layouts, etc...) Change-Id: I0c8676ebfbff27f0e9412bb4b13193ce64082372