summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2010-06-23 16:53:35 -0700
committerGilles Debunne <debunne@google.com>2010-06-25 14:00:00 -0700
commit3eb9b66deb18888d7f52ed901abf342506aa3db7 (patch)
tree80849d0c948297d37f5844ceb400fd7fb162268c
parent7ae7ac48aa2b53453c9805075171ecd5bcafd7de (diff)
downloadframeworks_base-3eb9b66deb18888d7f52ed901abf342506aa3db7.zip
frameworks_base-3eb9b66deb18888d7f52ed901abf342506aa3db7.tar.gz
frameworks_base-3eb9b66deb18888d7f52ed901abf342506aa3db7.tar.bz2
New XmlAdapters sample code.
Build files modified to add the new sample. Sample screenshot images. Change-Id: I51b9512eb7b8202a3acb482fbfbd8e5ffa100f5c
-rw-r--r--Android.mk4
-rw-r--r--docs/html/resources/resources-data.js10
-rw-r--r--docs/html/resources/samples/images/XmlPhotosAdapter.pngbin0 -> 108550 bytes
-rw-r--r--docs/html/resources/samples/images/XmlRssReader.pngbin0 -> 118780 bytes
4 files changed, 13 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 5fb7366..9e3e240 100644
--- a/Android.mk
+++ b/Android.mk
@@ -415,7 +415,9 @@ web_docs_sample_code_flags := \
-samplecode $(sample_dir)/WiktionarySimple \
resources/samples/WiktionarySimple "Wiktionary (Simplified)" \
-samplecode $(sample_dir)/VoiceRecognitionService \
- resources/samples/VoiceRecognitionService "Voice Recognition Service"
+ resources/samples/VoiceRecognitionService "Voice Recognition Service" \
+ -samplecode $(sample_dir)/XmlAdapters \
+ resources/samples/XmlAdapters "XML Adapters"
## SDK version identifiers used in the published docs
# major[.minor] version for current SDK. (full releases only)
diff --git a/docs/html/resources/resources-data.js b/docs/html/resources/resources-data.js
index 9bbe060..d06b695 100644
--- a/docs/html/resources/resources-data.js
+++ b/docs/html/resources/resources-data.js
@@ -554,6 +554,16 @@ var ANDROID_RESOURCES = [
en: 'A simple Android home screen widgets example.'
}
},
+ {
+ tags: ['sample', 'layout', 'new'],
+ path: 'samples/XmlAdapters/index.html',
+ title: {
+ en: 'XML Adapters'
+ },
+ description: {
+ en: 'Binding data to views using XML Adapters examples.'
+ }
+ },
/////////////////
/// TUTORIALS ///
diff --git a/docs/html/resources/samples/images/XmlPhotosAdapter.png b/docs/html/resources/samples/images/XmlPhotosAdapter.png
new file mode 100644
index 0000000..c018d54
--- /dev/null
+++ b/docs/html/resources/samples/images/XmlPhotosAdapter.png
Binary files differ
diff --git a/docs/html/resources/samples/images/XmlRssReader.png b/docs/html/resources/samples/images/XmlRssReader.png
new file mode 100644
index 0000000..00f841b
--- /dev/null
+++ b/docs/html/resources/samples/images/XmlRssReader.png
Binary files differ