diff options
author | Joe Fernandez <joefernandez@google.com> | 2013-10-31 09:26:43 -0700 |
---|---|---|
committer | Joe Fernandez <joefernandez@google.com> | 2013-10-31 16:36:37 +0000 |
commit | 204e557670a299c724023cb91ad23cd5c15641a3 (patch) | |
tree | 2fd1621b18070a828dccc3d9b57885698dc9e51b /docs/html/samples | |
parent | 559a00ad187ae4da86b339cd7505d085af3ee7ea (diff) | |
download | frameworks_base-204e557670a299c724023cb91ad23cd5c15641a3.zip frameworks_base-204e557670a299c724023cb91ad23cd5c15641a3.tar.gz frameworks_base-204e557670a299c724023cb91ad23cd5c15641a3.tar.bz2 |
docs: Code Samples landing page - listing fix
Change-Id: Id63110642e37bb9232cd1397acf9f47137cd2659
(cherry picked from commit 24807d790859e6d44abe52d8c1a4bcd4f30410fb)
Diffstat (limited to 'docs/html/samples')
-rw-r--r-- | docs/html/samples/index.jd | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/docs/html/samples/index.jd b/docs/html/samples/index.jd index 5c6cb53..c1213b6 100644 --- a/docs/html/samples/index.jd +++ b/docs/html/samples/index.jd @@ -15,25 +15,31 @@ page.tags="samples","examples","code" <p>If you want to download a complete project, just click on any source file in the project and click the link in the upper right of the source page.</p> +<p>To import a downloaded project:<p> + +<div class="toggle-content closed"> +<p style="margin-top:5px"><a href="#" onclick="return toggleContent(this)"> + <img src="/assets/images/triangle-closed.png" class="toggle-content-img" alt="" + />Using Android Studio</a></p> + + <div class="toggle-content-toggleme"> + + <ol> + <li>Unpack the downloaded project package.</li> + <li>In <a href="{@docRoot}sdk/installing/studio.html">Android Studio</a>, chose + <strong>File > Import Project</strong> and select the root folder of the unpacked project. + <p>Android Studio may ask you to choose the type of project you are importing. + If this is the case, make sure to choose <strong>Import project from + external model</strong> and select the <strong>Gradle</strong> option. + </p> + </li> + </ol> + + </div> +</div> + <p class="note"> <strong>Note:</strong> At this time, the downloadable projects are designed for use with Gradle and Android Studio. Project downloads for Eclipse will be available soon! </p> -<p>To import a downloaded project into <a href="{@docRoot}sdk/installing/studio.html">Android - Studio</a>:</p> - -<ul> - <li>Unpack the downloaded project package.</li> - <li>In Android Studio, chose <strong>File > Import Project</strong> and select the root folder of - the unpacked project. - <p>Android Studio may ask you to choose the type of project you are importing. - If this is the case, make sure to choose <strong>Import project from - external model</strong> and select the <strong>Gradle</strong> option. - </p> - </li> -</ul> - - -<div id="samples"> -</div> |