From 06d2fa705ba5a11f712187229238b0d41b446a52 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Thu, 10 Feb 2011 19:11:33 -0800 Subject: Associated changes for 'Adding sample for collection widgets backed by content providers.' Change-Id: Ic872675f4645497dd1478b6c7e3074b029ea66ad --- Android.mk | 2 ++ docs/html/resources/resources-data.js | 10 ++++++++++ .../html/resources/samples/images/WeatherListWidget.png | Bin 0 -> 28360 bytes 3 files changed, 12 insertions(+) create mode 100644 docs/html/resources/samples/images/WeatherListWidget.png diff --git a/Android.mk b/Android.mk index 18e0963eaf0c..efe1ea10a22b 100644 --- a/Android.mk +++ b/Android.mk @@ -431,6 +431,8 @@ web_docs_sample_code_flags := \ resources/samples/TicTacToeLib "TicTacToeLib" \ -samplecode $(sample_dir)/TicTacToeMain \ resources/samples/TicTacToeMain "TicTacToeMain" \ + -samplecode $(sample_dir)/WeatherListWidget \ + resources/samples/WeatherListWidget "Weather List Widget Sample" \ -samplecode $(sample_dir)/Wiktionary \ resources/samples/Wiktionary "Wiktionary" \ -samplecode $(sample_dir)/WiktionarySimple \ diff --git a/docs/html/resources/resources-data.js b/docs/html/resources/resources-data.js index 5a3145b5185c..6d0768dc84f0 100644 --- a/docs/html/resources/resources-data.js +++ b/docs/html/resources/resources-data.js @@ -604,6 +604,16 @@ var ANDROID_RESOURCES = [ en: 'A simple Android home screen widgets example.' } }, + { + tags: ['sample', 'widgets', 'newfeature', 'new'], + path: 'samples/WeatherListWidget/index.html', + title: { + en: 'Weather List Widget Sample' + }, + description: { + en: 'A more complex collection-widget example which uses a ContentProvider as its data source.' + } + }, { tags: ['sample', 'layout'], path: 'samples/XmlAdapters/index.html', diff --git a/docs/html/resources/samples/images/WeatherListWidget.png b/docs/html/resources/samples/images/WeatherListWidget.png new file mode 100644 index 000000000000..f0cbdaff095f Binary files /dev/null and b/docs/html/resources/samples/images/WeatherListWidget.png differ -- cgit v1.2.3-59-g8ed1b