File: README.txt

package info (click to toggle)
android-platform-tools-base 2.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 123,960 kB
  • ctags: 236,781
  • sloc: java: 826,450; xml: 45,920; cpp: 2,526; ansic: 1,432; sh: 537; lisp: 110; makefile: 21
file content (16 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Sample code to use the layout rendering library.

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...)