Skip to content

Commit f030c94

Browse files
scottamainAndroid Git Automerger
authored andcommitted
am 2b0267d: docs: Deprecate the old UI guidelines about Activity/Task and Menus
* commit '2b0267dc3671282a1498a92da7b38fd2ef5c018f': docs: Deprecate the old UI guidelines about Activity/Task and Menus
2 parents 028e6dd + 2b0267d commit f030c94

File tree

5 files changed

+68
-28
lines changed

5 files changed

+68
-28
lines changed

docs/html/guide/guide_toc.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -834,12 +834,6 @@ localized titles are added in the language order specified below.
834834
<li><a href="<?cs var:toroot ?>guide/practices/ui_guidelines/widget_design.html">
835835
<span class="en">App Widget Design</span>
836836
</a></li>
837-
<li><a href="<?cs var:toroot ?>guide/practices/ui_guidelines/activity_task_design.html">
838-
<span class="en">Activity and Task Design</span>
839-
</a></li>
840-
<li><a href="<?cs var:toroot ?>guide/practices/ui_guidelines/menu_design.html">
841-
<span class="en">Menu Design</span>
842-
</a></li>
843837
</ul>
844838
</li>
845839
</ul>

docs/html/guide/practices/ui_guidelines/activity_task_design.jd

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,43 @@ parent.title=UI Guidelines
33
parent.link=index.html
44
@jd:body
55

6+
7+
8+
9+
<div id="deprecatedSticker">
10+
<a href="#"
11+
onclick="$('#naMessage').show();$('#deprecatedSticker').hide();return false">
12+
<strong>This doc is deprecated</strong></a>
13+
</div>
14+
15+
16+
<div id="naMessage" style="display:block">
17+
<div><p><strong>This document has been deprecated.</strong></p>
18+
<p>For information about designing an activity structure and navigation, read the design guidelines
19+
for <a href="{@docRoot}design/patterns/app-structure.html">App Structure</a> and
20+
<a href="{@docRoot}design/patterns/navigation.html">Navigation</a>, or the developer guide
21+
about <a
22+
href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back Stack</a>.</p>
23+
24+
<input style="margin-top:1em;padding:5px" type="button"
25+
value="That's nice, but I still want to read this document"
26+
onclick="$('#naMessage').hide();$('#deprecatedSticker').show()" />
27+
</div>
28+
</div>
29+
30+
31+
32+
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+
643
<div id="qv-wrapper">
744
<div id="qv">
845

docs/html/guide/practices/ui_guidelines/index.jd

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -39,26 +39,6 @@ at a glance, on a user's Home screen. These design guidelines describe how to
3939
design widgets that fit with others on the Home screen. They include links to
4040
graphics files and templates that will make your designer's life easier.</dd>
4141
</dl>
42-
<dl>
43-
<dt><a href="{@docRoot}guide/practices/ui_guidelines/activity_task_design.html">Activity and Task Design Guidelines</a> </dt>
44-
<dd>Activities are the basic, independent building blocks of applications.
45-
As you design your application's UI and feature set, you are free to
46-
re-use activities from other applications as if they were yours,
47-
to enrich and extend your application. These guidelines
48-
describe how activities work, illustrates them with examples, and
49-
describes important underlying principles and mechanisms, such as
50-
multitasking, activity reuse, intents, the activity stack, and
51-
tasks. It covers this all from a high-level design perspective.
52-
</dd>
53-
<dt><a href="{@docRoot}guide/practices/ui_guidelines/menu_design.html">Menu Design Guidelines</a> </dt>
54-
<dd>Android applications make use of Option menus and Context menus
55-
that enable users to perform operations and navigate to other parts
56-
of your application or to other applications. These guidelines describe
57-
the difference between Options anontext menus, how to arrange
58-
menu items, when to put commands on-screen, and other details about
59-
menu design.
60-
</dd>
61-
</dl>
6242

6343

6444

docs/html/guide/practices/ui_guidelines/menu_design.jd

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,38 @@ page.title=Menu Design Guidelines
22
parent.title=UI Guidelines
33
parent.link=index.html
44
@jd:body
5+
6+
7+
8+
9+
<div id="deprecatedSticker">
10+
<a href="#"
11+
onclick="$('#naMessage').show();$('#deprecatedSticker').hide();return false">
12+
<strong>This doc is deprecated</strong></a>
13+
</div>
14+
15+
16+
<div id="naMessage" style="display:block">
17+
<div><p><strong>This document has been deprecated.</strong></p>
18+
<p>For design guidelines about adding user actions and other options, read the design guidelines
19+
for <a href="{@docRoot}design/patterns/actionbar.html">Action Bar</a> or the developer guide about
20+
<a href="{@docRoot}guide/topics/ui/menus.html">Menus</a>.</p>
21+
22+
<input style="margin-top:1em;padding:5px" type="button"
23+
value="That's nice, but I still want to read this document"
24+
onclick="$('#naMessage').hide();$('#deprecatedSticker').show()" />
25+
</div>
26+
</div>
527

28+
29+
30+
31+
32+
33+
34+
35+
36+
637
<div id="qv-wrapper">
738
<div id="qv">
839

docs/html/sitemap.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ http://developer.android.com/guide/practices/ui_guidelines/icon_design_tab.html
160160
http://developer.android.com/guide/practices/ui_guidelines/icon_design_dialog.html
161161
http://developer.android.com/guide/practices/ui_guidelines/icon_design_list.html
162162
http://developer.android.com/guide/practices/ui_guidelines/widget_design.html
163-
http://developer.android.com/guide/practices/ui_guidelines/activity_task_design.html
164-
http://developer.android.com/guide/practices/ui_guidelines/menu_design.html
165163
http://developer.android.com/guide/practices/design/performance.html
166164
http://developer.android.com/guide/practices/design/responsiveness.html
167165
http://developer.android.com/guide/practices/design/seamlessness.html

0 commit comments

Comments
 (0)