Adding StackWidget sample code
Change-Id: I4c469f25147f733a3a09cdea0db407cd4e9f62ca
diff --git a/Android.mk b/Android.mk
index 18e0963..953c35d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -427,6 +427,8 @@
resources/samples/Spinner "Spinner" \
-samplecode $(sample_dir)/SpinnerTest \
resources/samples/SpinnerTest "SpinnerTest" \
+ -samplecode $(sample_dir)/StackWidget \
+ resources/samples/StackWidget "StackWidget" \
-samplecode $(sample_dir)/TicTacToeLib \
resources/samples/TicTacToeLib "TicTacToeLib" \
-samplecode $(sample_dir)/TicTacToeMain \
diff --git a/docs/html/resources/resources-data.js b/docs/html/resources/resources-data.js
index 5a3145b..3d12b49 100644
--- a/docs/html/resources/resources-data.js
+++ b/docs/html/resources/resources-data.js
@@ -565,6 +565,16 @@
}
},
{
+ tags: ['sample', 'new', 'newfeature'],
+ path: 'samples/StackWidget/index.html',
+ title: {
+ en: 'StackView App Widget'
+ },
+ description: {
+ en: 'Demonstrates how to create a simple collection widget containing a StackView.'
+ }
+ },
+ {
tags: ['sample', 'newfeature'],
path: 'samples/TicTacToeLib/index.html',
title: {
diff --git a/docs/html/resources/samples/images/StackWidget.png b/docs/html/resources/samples/images/StackWidget.png
new file mode 100644
index 0000000..f2f83a0
--- /dev/null
+++ b/docs/html/resources/samples/images/StackWidget.png
Binary files differ