summaryrefslogtreecommitdiffstats
path: root/docs/html/training/design-navigation
diff options
context:
space:
mode:
authorRoman Nurik <romannurik@google.com>2011-12-16 11:48:24 -0800
committerRoman Nurik <romannurik@google.com>2011-12-16 11:48:24 -0800
commit00697a90bec4e0536cfa0873602b64bb6785022e (patch)
tree9e7f1eae4b8e7e3ae37e6c1f6f9390239edf4b52 /docs/html/training/design-navigation
parenteb946fbdc800d56e1cbac515a1c73de806e74711 (diff)
downloadframeworks_base-00697a90bec4e0536cfa0873602b64bb6785022e.zip
frameworks_base-00697a90bec4e0536cfa0873602b64bb6785022e.tar.gz
frameworks_base-00697a90bec4e0536cfa0873602b64bb6785022e.tar.bz2
docs: Add missing intent flag to Android U nav class
Change-Id: I18eb286a8d8b2c70f7d894d1244d2568ce6ce6c0
Diffstat (limited to 'docs/html/training/design-navigation')
-rw-r--r--docs/html/training/design-navigation/ancestral-temporal.jd4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/training/design-navigation/ancestral-temporal.jd b/docs/html/training/design-navigation/ancestral-temporal.jd
index d12fd5c..02e43e1 100644
--- a/docs/html/training/design-navigation/ancestral-temporal.jd
+++ b/docs/html/training/design-navigation/ancestral-temporal.jd
@@ -64,6 +64,6 @@ next.link=wireframing.html
<p>In some cases, it's appropriate for <em>Up</em> to perform an action rather than navigating to a parent screen. Take for example, the Gmail application for Android 3.0-based tablets. When viewing a mail conversation while holding the device in landscape, the conversation list, as well as the conversation details are presented side-by-side. This is a form of parent-child screen grouping, as discussed in a <a href="multiple-sizes.html">previous lesson</a>. However, when viewing a mail conversation in the portrait orientation, only the conversation details are shown. The <em>Up</em> button is used to temporarily show the parent pane, which slides in from the left of the screen. Pressing the <em>Up</em> button again while the left pane is visible exits the context of the individual conversation, up to a full-screen list of conversations.</p>
-<p class="note"><strong>Implementation Note:</strong> As a best practice, when implementing either <em>Home</em> or <em>Up</em>, make sure to clear the back stack of any descendent screens. For <em>Home</em>, the only remaining screen on the back stack should be the home screen. For <em>Up</em> navigation, the current screen should be removed from the back stack, unless BACK navigates across screen hierarchies. You can use the {@link android.content.Intent#FLAG_ACTIVITY_CLEAR_TOP} intent flag to achieve this.</p>
+<p class="note"><strong>Implementation Note:</strong> As a best practice, when implementing either <em>Home</em> or <em>Up</em>, make sure to clear the back stack of any descendent screens. For <em>Home</em>, the only remaining screen on the back stack should be the home screen. For <em>Up</em> navigation, the current screen should be removed from the back stack, unless BACK navigates across screen hierarchies. You can use the {@link android.content.Intent#FLAG_ACTIVITY_CLEAR_TOP} and {@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK} intent flags together to achieve this.</p>
-<p>In the last lesson, we apply the concepts discussed in all of the lessons so far to create interaction design wireframes for our example news application.</p> \ No newline at end of file
+<p>In the last lesson, we apply the concepts discussed in all of the lessons so far to create interaction design wireframes for our example news application.</p>