Skip to content

Commit a3b69d1

Browse files
Peter NgAndroid Git Automerger
authored andcommitted
am 81a9bec: Merge "copy and image updates to patterns and building blocks" into jb-dev
* commit '81a9bece12ef855092b27c33a997f3fa7b7f2d98': copy and image updates to patterns and building blocks
2 parents fc92eb9 + 81a9bec commit a3b69d1

16 files changed

+60
-47
lines changed

docs/html/design/building-blocks/dialogs.jd

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,29 @@ user to adjust settings or enter text.</p>
1010
<div class="with-callouts">
1111

1212
<ol>
13-
<li>
14-
<h4>Optional title region</h4>
15-
<p>The title introduces the content of your dialog. It can, for example, identify the name of a
16-
setting that the user is about to change, or request a decision.</p>
17-
</li>
18-
<li>
19-
<h4>Content area</h4>
20-
<p>Dialog content varies widely. For settings dialogs, a dialog may contain UI elements such as
21-
sliders, text fields, checkboxes, or radio buttons that allow the user to change app or system
22-
settings. In other cases, such as alerts, the content may consist solely of text that provides
23-
further context for a user decision.</p>
24-
</li>
25-
<li>
26-
<h4>Action buttons</h4>
27-
<p>Action buttons are typically Cancel and/or OK, with OK indicating the preferred or most likely
28-
action. However, if the options consist of specific actions such as Close or Wait rather than
29-
a confirmation or cancellation of the action described in the content, then all the buttons
30-
should be active verbs. As a rule, the dismissive action of a dialog is always on the left
31-
whereas the affirmative actions are on the right.</p>
32-
</li>
13+
<li>
14+
<h4>Optional title region</h4>
15+
<p>The title introduces the content of your dialog. It can, for example, identify the name of a
16+
setting that the user is about to change, or request a decision.</p>
17+
</li>
18+
<li>
19+
<h4>Content area</h4>
20+
<p>Dialog content varies widely. For settings dialogs, a dialog may contain UI elements such as
21+
sliders, text fields, checkboxes, or radio buttons that allow the user to change app or system
22+
settings. In other cases, such as alerts, the content may consist solely of text that provides
23+
further context for a user decision.</p>
24+
</li>
25+
26+
<li>
27+
<h4>Action buttons</h4>
28+
<p>Action buttons are typically Cancel and/or OK, with OK indicating the preferred or most likely action. However, if the options consist of specific actions such as Close or Wait rather than a confirmation or cancellation of the action described in the content, then all the buttons should be active verbs. Order actions following these rules:</p>
29+
<ul>
30+
31+
<li>The dismissive action of a dialog is always on the left. Dismissive actions return to the user to the previous state.</li>
32+
<li>The affirmative actions are on the right. Affirmative actions continue progress toward the user goal that triggered the dialog.</li>
33+
</ul>
34+
</li>
3335
</ol>
34-
3536
</div>
3637

3738
<img src="{@docRoot}design/media/dialogs_examples.png">

docs/html/design/building-blocks/index.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ footer.hide=1
1111
#text-overlay {
1212
position: absolute;
1313
left: 0;
14-
top: 472px;
14+
top: 520px;
1515
width: 450px;
1616
}
1717
</style>

docs/html/design/building-blocks/tabs.jd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ page.title=Tabs
66
<p>Tabs in the action bar make it easy to explore and switch between different views or functional
77
aspects of your app, or to browse categorized data sets.</p>
88

9+
<p>For details on using gestures to move between tabs, see the <a href="{@docRoot}design/patterns/swipe-views.html">Swipe Views</a> pattern.</p>
910

1011
<h2 id="scrollable">Scrollable Tabs</h2>
1112

@@ -36,7 +37,7 @@ to the next/previous view, swipe left or right.</p>
3637
<h2 id="fixed">Fixed Tabs</h2>
3738

3839

39-
<p>Fixed tabs display all items concurrently. To navigate to a different view, touch the tab.</p>
40+
<p>Fixed tabs display all items concurrently. To navigate to a different view, touch the tab, or swipe left or right.</p>
4041

4142
<img src="{@docRoot}design/media/tabs_standard.png">
4243
<div class="figure-caption">
23.7 KB
Loading
338 Bytes
Loading
-61.7 KB
Loading
-69.7 KB
Loading
-29.1 KB
Loading
-3.1 KB
Loading
1.88 KB
Loading

0 commit comments

Comments
 (0)