diff options
Diffstat (limited to 'docs/html/guide/appendix/faq/commontasks.jd')
-rw-r--r-- | docs/html/guide/appendix/faq/commontasks.jd | 6 |
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>@android:style/Theme.Dialog</code> in your AndroidManifest.xml file. For example: -</ul> -<blockquote> <pre><activity class="AddRssItem" android:label="Add an item" android:theme="@android:style/Theme.Dialog"/> -</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> |