aboutsummaryrefslogtreecommitdiffstats
path: root/layoutlib_api/src/com/android/ide/common/rendering/api/DeclareStyleableResourceValue.java
Commit message (Collapse)AuthorAgeFilesLines
* refactor layoutlib_api folder structure.Xavier Ducrohet2012-12-061-71/+0
| | | | | | | | | | Move folders around to match default gradle/maven folder structure. The custom structure confused some IDEs when importing the project as a Gradle project. Change-Id: Iddd154cd491e21a047d93bd67cc2cfa005fb6158
* Fix javadoc here and there.Xavier Ducrohet2012-10-021-1/+1
| | | | Change-Id: If02d0b97c294d9821a1c914547782a08b1d256fb
* Properly support attr ns when used in styles.Xavier Ducrohet2012-03-161-0/+5
| | | | | | | | | | | | | Previously we just stripped the namespace prefix when reading attribute names in styles and declare-styleables. This was bad if one created a declare-styleable mixing platform and app attributes that were named the same. This change is Eclipse side only and prevents ADT crashed (due to stack overflows) but the rendering won't be correct. An updated version of layoutlib using API 8 is necessary. Change-Id: I3029f3e06cdd96cd46af511bb029bc5274b935ad
* Fix value parser to handle attr values not in declare-styleable.Xavier Ducrohet2011-06-241-21/+12
| | | | | | | 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-231-0/+4
| | | | | | | | | | | | | | | | | | | 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
* Add proper styleable support.Xavier Ducrohet2011-06-071-0/+71
Change-Id: I2dc79e71521f93d798fd4a9b33aa59979bef379d