Skip to content

Commit f4b2ba1

Browse files
committed
Add ActionBarCompat sample (CL 2 of 2)
Change-Id: Ie64eaad0c5cd148288ee48c524ff3516522fc10f
1 parent 67f9d32 commit f4b2ba1

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

Android.mk

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,8 @@ web_docs_sample_code_flags := \
400400
resources/samples/AccessibilityService "Accessibility Service" \
401401
-samplecode $(sample_dir)/AccelerometerPlay \
402402
resources/samples/AccelerometerPlay "Accelerometer Play" \
403+
-samplecode $(sample_dir)/ActionBarCompat \
404+
resources/samples/ActionBarCompat "Action Bar Compatibility" \
403405
-samplecode $(sample_dir)/AndroidBeam \
404406
resources/samples/AndroidBeam "Android Beam" \
405407
-samplecode $(sample_dir)/ApiDemos \
@@ -416,12 +418,12 @@ web_docs_sample_code_flags := \
416418
resources/samples/BusinessCard "Business Card" \
417419
-samplecode $(sample_dir)/ContactManager \
418420
resources/samples/ContactManager "Contact Manager" \
419-
-samplecode $(sample_dir)/CubeLiveWallpaper \
420-
resources/samples/CubeLiveWallpaper "Cube Live Wallpaper" \
421+
-samplecode $(sample_dir)/CubeLiveWallpaper \
422+
resources/samples/CubeLiveWallpaper "Cube Live Wallpaper" \
421423
-samplecode $(sample_dir)/Home \
422424
resources/samples/Home "Home" \
423-
-samplecode $(sample_dir)/HoneycombGallery \
424-
resources/samples/HoneycombGallery "Honeycomb Gallery" \
425+
-samplecode $(sample_dir)/HoneycombGallery \
426+
resources/samples/HoneycombGallery "Honeycomb Gallery" \
425427
-samplecode $(sample_dir)/JetBoy \
426428
resources/samples/JetBoy "JetBoy" \
427429
-samplecode $(sample_dir)/LunarLander \

docs/html/resources/resources-data.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,16 @@ var ANDROID_RESOURCES = [
407407
en: 'Illustrates an accessibility service that provides custom feedback for the Clock application which comes by default with Android devices'
408408
}
409409
},
410+
{
411+
tags: ['sample', 'new', 'ui', 'compatibility', 'newfeature'],
412+
path: 'samples/ActionBarCompat/index.html',
413+
title: {
414+
en: 'Action Bar Compatibility'
415+
},
416+
description: {
417+
en: 'Shows how to use the action bar on both pre-API 11 and API 11+ devices, maximizing code re-use.'
418+
}
419+
},
410420
{
411421
tags: ['sample', 'new'],
412422
path: 'samples/AndroidBeam/index.html',
19.2 KB
Loading
21.7 KB
Loading

0 commit comments

Comments
 (0)