From 4e7db256878bbf2058fa7d1bf07ddbe1c7206103 Mon Sep 17 00:00:00 2001 From: Dirk Dougherty Date: Tue, 5 Jan 2010 17:03:39 -0800 Subject: SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files. Bug: 2160782 Change-Id: I537194ecddc53d4f0e8456ce958ae8db6f521593 --- docs/html/guide/appendix/faq/commontasks.jd | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'docs/html/guide/appendix/faq') 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.
  • Create an {@link android.app.AlertDialog app.AlertDialog} class
  • Set the {@link android.R.style#Theme_Dialog} theme attribute to @android:style/Theme.Dialog in your AndroidManifest.xml file. For example: - -
    <activity class="AddRssItem" android:label="Add an item" android:theme="@android:style/Theme.Dialog"/>
    -
    -
    +
  • +

    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).

    -- cgit v1.1