OSDN Git Service

Add some more API demos for themes.
authorDianne Hackborn <hackbod@google.com>
Sun, 16 Jan 2011 22:28:13 +0000 (14:28 -0800)
committerDianne Hackborn <hackbod@google.com>
Sun, 16 Jan 2011 22:29:28 +0000 (14:29 -0800)
commite63a4b58a26cdce8b62984c83763dafdf282895b
treecbb1863d580c6900daefb06285632a2a6789828f
parent560094efef3da5f616faed00212f8fdae9037d99
Add some more API demos for themes.

Shows how to make a basic custom theme with a custom background,
and a theme that selects between the old theme and Holo.

Also use a little trick to make the API demos for HC specific
samples be hidden on older versions of the platform.

Change-Id: Ie53e8103147e81975fca73b96bda989a00504534
samples/ApiDemos/AndroidManifest.xml
samples/ApiDemos/res/layout/controls_1.xml
samples/ApiDemos/res/values-v11/bools.xml [new file with mode: 0644]
samples/ApiDemos/res/values-v11/styles.xml [new file with mode: 0644]
samples/ApiDemos/res/values/bools.xml [new file with mode: 0644]
samples/ApiDemos/res/values/styles.xml
samples/ApiDemos/src/com/example/android/apis/view/Controls5.java [new file with mode: 0644]
samples/ApiDemos/src/com/example/android/apis/view/Controls6.java [new file with mode: 0644]
samples/ApiDemos/src/com/example/android/apis/view/_index.html