summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/appendix/faq
diff options
context:
space:
mode:
authorDirk Dougherty <ddougherty@google.com>2010-01-05 17:03:39 -0800
committerDirk Dougherty <ddougherty@google.com>2010-01-07 12:05:01 -0800
commit4e7db256878bbf2058fa7d1bf07ddbe1c7206103 (patch)
tree06e37450ddc5084b46b2840054e3a3cd8d0e3a4f /docs/html/guide/appendix/faq
parenteb5ffc239b6482b9c1e046f6f5872187043d852c (diff)
downloadframeworks_base-4e7db256878bbf2058fa7d1bf07ddbe1c7206103.zip
frameworks_base-4e7db256878bbf2058fa7d1bf07ddbe1c7206103.tar.gz
frameworks_base-4e7db256878bbf2058fa7d1bf07ddbe1c7206103.tar.bz2
SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files.
Bug: 2160782 Change-Id: I537194ecddc53d4f0e8456ce958ae8db6f521593
Diffstat (limited to 'docs/html/guide/appendix/faq')
-rw-r--r--docs/html/guide/appendix/faq/commontasks.jd6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/html/guide/appendix/faq/commontasks.jd b/docs/html/guide/appendix/faq/commontasks.jd
index e88a867..107199a 100644
--- a/docs/html/guide/appendix/faq/commontasks.jd
+++ b/docs/html/guide/appendix/faq/commontasks.jd
@@ -160,11 +160,9 @@ It is not necessary to put external JARs in the assets folder.
<li>Create an {@link android.app.AlertDialog app.AlertDialog} class </li>
<li>Set the {@link android.R.style#Theme_Dialog} <em>theme</em> attribute to <code>&#064;android:style/Theme.Dialog</code>
in your AndroidManifest.xml file. For example:
-</ul>
-<blockquote>
<pre>&lt;activity class=&quot;AddRssItem&quot; android:label=&quot;Add an item&quot; android:theme=&quot;&#064;android:style/Theme.Dialog&quot;/&gt;
-</pre>
-</blockquote>
+</pre></li>
+</ul>
<p>Calling startActivity() or startActivityForResult() will open a new screen in whatever
way it defines itself (if it uses a floating theme it will be floating,
otherwise it will be full screen). </p>