diff --git a/Android.mk b/Android.mk index efe1ea10a22bb..d2c2a64d9bb06 100644 --- a/Android.mk +++ b/Android.mk @@ -427,6 +427,8 @@ web_docs_sample_code_flags := \ 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 6d0768dc84f0f..beffbfeee99e6 100644 --- a/docs/html/resources/resources-data.js +++ b/docs/html/resources/resources-data.js @@ -564,6 +564,16 @@ var ANDROID_RESOURCES = [ en: 'The test application for the Activity Testing tutorial. It tests the Spinner example application.' } }, + { + 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', diff --git a/docs/html/resources/samples/images/StackWidget.png b/docs/html/resources/samples/images/StackWidget.png new file mode 100644 index 0000000000000..f2f83a0adcb08 Binary files /dev/null and b/docs/html/resources/samples/images/StackWidget.png differ