From d4cc94299613ca73c941e3a9b5ed935f444b963d Mon Sep 17 00:00:00 2001
From: Scott Main
Date: Wed, 3 Oct 2012 18:47:08 -0700
Subject: [PATCH] add links from various design docs to corresponding developer
docs
Change-Id: Id731979a9b6ebcfc956848933d64ea5cf64953b5
---
docs/html/design/building-blocks/buttons.jd | 7 +++++++
docs/html/design/building-blocks/dialogs.jd | 13 +++++++++++++
docs/html/design/building-blocks/pickers.jd | 7 +++++++
docs/html/design/building-blocks/spinners.jd | 7 +++++++
docs/html/design/building-blocks/switches.jd | 8 ++++++++
docs/html/design/building-blocks/tabs.jd | 7 +++++++
docs/html/design/building-blocks/text-fields.jd | 8 ++++++++
docs/html/design/patterns/accessibility.jd | 9 +++++++++
docs/html/design/patterns/actionbar.jd | 11 +++++++++++
docs/html/design/patterns/multi-pane-layouts.jd | 12 ++++++++++++
docs/html/design/patterns/navigation.jd | 12 ++++++++++++
docs/html/design/patterns/notifications.jd | 11 ++++++++++-
docs/html/design/patterns/settings.jd | 9 +++++++++
docs/html/design/patterns/swipe-views.jd | 10 ++++++++++
docs/html/design/patterns/widgets.jd | 10 +++++++++-
15 files changed, 139 insertions(+), 2 deletions(-)
diff --git a/docs/html/design/building-blocks/buttons.jd b/docs/html/design/building-blocks/buttons.jd
index 1c28cbefb1172..82e2477c86be5 100644
--- a/docs/html/design/building-blocks/buttons.jd
+++ b/docs/html/design/building-blocks/buttons.jd
@@ -36,3 +36,10 @@ use borderless buttons with both icons and text. Borderless buttons are visually
than basic buttons and integrate nicely with other content.
+
+
+
+
Developer Guide
+
For information about how to build and customize buttons in your app,
+ see the Buttons API guide.
+
diff --git a/docs/html/design/building-blocks/dialogs.jd b/docs/html/design/building-blocks/dialogs.jd
index 728821e211625..a2ece2ea5cce9 100644
--- a/docs/html/design/building-blocks/dialogs.jd
+++ b/docs/html/design/building-blocks/dialogs.jd
@@ -122,6 +122,12 @@ available based on the title and the text of the action buttons.
+
+
Developer Guide
+
For information about how to build dialogs in your app,
+ see the Dialogs API guide.
+
+
Popups are lightweight version of dialogs that require a single selection from the user. Popups
@@ -150,3 +156,10 @@ continue editing later. Toasts automatically disappear after a timeout.
+
+
+
+
Developer Guide
+
For information about how to create toasts,
+ see the Toasts API guide.
+
diff --git a/docs/html/design/building-blocks/pickers.jd b/docs/html/design/building-blocks/pickers.jd
index e3cf6424c7e30..b328df90548b5 100644
--- a/docs/html/design/building-blocks/pickers.jd
+++ b/docs/html/design/building-blocks/pickers.jd
@@ -29,3 +29,10 @@ app helps ensure that a user's specification of a data or time input is valid an
correctly. The format of a time and date picker adjusts automatically to the locale.
+
+
+
+
Developer Guide
+
For information about how to create date and time pickers,
+ see the Pickers API guide.
+
diff --git a/docs/html/design/building-blocks/spinners.jd b/docs/html/design/building-blocks/spinners.jd
index 621a57ce74413..279565f88fa40 100644
--- a/docs/html/design/building-blocks/spinners.jd
+++ b/docs/html/design/building-blocks/spinners.jd
@@ -35,3 +35,10 @@ tabs.
Spinners in the Holo Dark and Holo Light themes, in various states.
+
+
+
+
Developer Guide
+
For information about how to create spinners,
+ see the Spinners API guide.
+
diff --git a/docs/html/design/building-blocks/switches.jd b/docs/html/design/building-blocks/switches.jd
index c4dfc4bdeb9fe..d9cfd07fd3794 100644
--- a/docs/html/design/building-blocks/switches.jd
+++ b/docs/html/design/building-blocks/switches.jd
@@ -23,3 +23,11 @@ consider a spinner, which uses less space.
On/off switches toggle the state of a single settings option.
+
+
diff --git a/docs/html/design/building-blocks/tabs.jd b/docs/html/design/building-blocks/tabs.jd
index fe05f80a62725..0a0f9077981b6 100644
--- a/docs/html/design/building-blocks/tabs.jd
+++ b/docs/html/design/building-blocks/tabs.jd
@@ -57,3 +57,10 @@ to the next/previous view, swipe left or right.
permits fast view switching even on narrower screens.
+
+
+
+
Developer Guide
+
For information about how to create tabs,
+ see the Action Bar API guide.
+
diff --git a/docs/html/design/building-blocks/text-fields.jd b/docs/html/design/building-blocks/text-fields.jd
index 1b10420db4f37..563f2475ae4e0 100644
--- a/docs/html/design/building-blocks/text-fields.jd
+++ b/docs/html/design/building-blocks/text-fields.jd
@@ -68,3 +68,11 @@ Selection mode includes:
+
+
+
+
Developer Guide
+
For information about how to create text fields, provide auto-complete suggestions,
+ and specify the input mode,
+ see the Text Fields API guide.
+
diff --git a/docs/html/design/patterns/accessibility.jd b/docs/html/design/patterns/accessibility.jd
index b2fbda97c9d7a..2c3333f4d6ac3 100644
--- a/docs/html/design/patterns/accessibility.jd
+++ b/docs/html/design/patterns/accessibility.jd
@@ -69,6 +69,15 @@ page.title=Accessibility
Try it out yourself
Turn on the TalkBack service in Settings > Accessibility and navigate your application using directional controls or eyes-free navigation.
+
+
+
Developer Guide
+
For information about how to properly implement accessibility in your app, see the
+ Accessibility
+ API guide.
+
+
+
Checklist
- Make navigation intuitive
diff --git a/docs/html/design/patterns/actionbar.jd b/docs/html/design/patterns/actionbar.jd
index 353cee6a3cecd..265ccde1bc6df 100644
--- a/docs/html/design/patterns/actionbar.jd
+++ b/docs/html/design/patterns/actionbar.jd
@@ -349,6 +349,17 @@ sharing options.
The Gallery app's share action provider with extended spinner for additional sharing options.
+
+
+
Developer Guide
+
For information about how to build an action bar
+ see the Action Bar API guide.
+ For information about contextual action bars, read
+ Creating Contextual Menus.
+
+
+
+
Action Bar Checklist
When planning your split action bars, ask yourself questions like these:
diff --git a/docs/html/design/patterns/multi-pane-layouts.jd b/docs/html/design/patterns/multi-pane-layouts.jd
index ad888e9bc0fef..e607676152e05 100644
--- a/docs/html/design/patterns/multi-pane-layouts.jd
+++ b/docs/html/design/patterns/multi-pane-layouts.jd
@@ -86,6 +86,18 @@ you can use to adjust the layout after orientation change while keeping function
+
+
+
+
+
Checklist
diff --git a/docs/html/design/patterns/navigation.jd b/docs/html/design/patterns/navigation.jd
index 7e288aeaad5b6..656e6e5338fa4 100644
--- a/docs/html/design/patterns/navigation.jd
+++ b/docs/html/design/patterns/navigation.jd
@@ -202,3 +202,15 @@ with Task B—the prior context is abandoned in favor of the user's new goal
When your app registers to handle intents with an activity deep within the app's hierarchy,
refer to Navigation into Your App via Home Screen Widgets and
Notifications for guidance on how to specify Up navigation.
+
+
+
+
diff --git a/docs/html/design/patterns/notifications.jd b/docs/html/design/patterns/notifications.jd
index 75bfff290fc0f..1a15a648aeba3 100644
--- a/docs/html/design/patterns/notifications.jd
+++ b/docs/html/design/patterns/notifications.jd
@@ -250,4 +250,13 @@ develop a widget that they can choose to place on their home screen.
Dialogs and toasts are for feedback not notification
Your app should not create a dialog or toast if it is not currently on screen. Dialogs and Toasts should only be displayed as the immediate response to the user taking an action inside of your app. For further guidance on the use of dialogs and toasts, refer to Confirming & Acknowledging.
-
\ No newline at end of file
+
+
+
+
+
+
Developer Guide
+
For information about how to build notifications, see the
+ Notifications
+ API guide.
+
diff --git a/docs/html/design/patterns/settings.jd b/docs/html/design/patterns/settings.jd
index d10f0d3e6eeba..fef7585ac7de2 100644
--- a/docs/html/design/patterns/settings.jd
+++ b/docs/html/design/patterns/settings.jd
@@ -679,6 +679,15 @@ it doesn't mean anything to most users and would have taken up a lot of space.
+
+
+
Developer Guide
+
For information about how to build a settings interface, see the
+ Settings
+ API guide.
+
+
+
Checklist
+
+
+
+
+
diff --git a/docs/html/design/patterns/widgets.jd b/docs/html/design/patterns/widgets.jd
index cf4c74f990e0d..54726b1b530be 100644
--- a/docs/html/design/patterns/widgets.jd
+++ b/docs/html/design/patterns/widgets.jd
@@ -122,7 +122,15 @@ A music player widget is primarily a control widget, but also keeps the user inf
-Checklist
+
+
+
Developer Guide
+
For information about how to build widgets for the home screen, see the
+ App Widgets
+ API guide.
+
+
+Checklist
- Focus on small portions of glanceable information on your widget. Expand on the information in your app.
- Choose the right widget type for your purpose.