Skip to content

Commit 801fda5

Browse files
committed
AndroidU lesson on designing for multiple screens.
This change adds the text for the AndroidU lesson "Designing for Multiple Screens", which shows how to write applications that adapt properly to screen size, density and orientation for maximum compatibility. Update makefile and resources-data.js for rendering source in HTML Add ZIP file for sample Change-Id: I671bb3063d5bf02681bc547ffe5262a9df22037a
1 parent 89c3bc3 commit 801fda5

File tree

14 files changed

+860
-0
lines changed

14 files changed

+860
-0
lines changed

Android.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,8 @@ web_docs_sample_code_flags := \
432432
resources/samples/MultiResolution "Multiple Resolutions" \
433433
-samplecode $(sample_dir)/NFCDemo \
434434
resources/samples/NFCDemo "NFC Demo" \
435+
-samplecode $(sample_dir)/training/multiscreen/newsreader \
436+
resources/samples/newsreader "News Reader" \
435437
-samplecode $(sample_dir)/NotePad \
436438
resources/samples/NotePad "Note Pad" \
437439
-samplecode $(sample_dir)/SpellChecker/SampleSpellCheckerService \
720 Bytes
Loading
3.32 KB
Loading
1.58 KB
Loading
132 KB
Loading
4.33 KB
Loading
7.08 KB
Loading

docs/html/resources/resources-data.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,16 @@ var ANDROID_RESOURCES = [
557557
en: 'A sample application that shows how to use resource directory qualifiers to provide different resources for different screen configurations.'
558558
}
559559
},
560+
{
561+
tags: ['sample', 'new', 'bestpractices'],
562+
path: 'samples/newsreader/index.html',
563+
title: {
564+
en: 'News Reader'
565+
},
566+
description: {
567+
en: 'A sample app demonstrating best practices to support multiple screen sizes and densities.'
568+
}
569+
},
560570
{
561571
tags: ['sample', 'data'],
562572
path: 'samples/NFCDemo/index.html',
179 KB
Loading
327 KB
Binary file not shown.

0 commit comments

Comments
 (0)