Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b8557da authored by Joe Fernandez's avatar Joe Fernandez Committed by Android (Google) Code Review
Browse files

Merge "docs: Code Samples landing page - listing fix" into klp-dev

parents da59cd60 24807d79
Loading
Loading
Loading
Loading
+23 −17
Original line number Original line Diff line number Diff line
@@ -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
<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>
  click the link in the upper right of the source page.</p>


<p class="note">
<p>To import a downloaded project:<p>
  <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
<div class="toggle-content closed">
  Studio</a>:</p>
<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>


<ul>
  <div class="toggle-content-toggleme">

  <ol>
    <li>Unpack the downloaded project package.</li>
    <li>Unpack the downloaded project package.</li>
  <li>In Android Studio, chose <strong>File > Import Project</strong> and select the root folder of
    <li>In <a href="{@docRoot}sdk/installing/studio.html">Android Studio</a>, chose
  the unpacked project.
    <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.
      <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
        If this is the case, make sure to choose <strong>Import project from
        external model</strong> and select the <strong>Gradle</strong> option.
        external model</strong> and select the <strong>Gradle</strong> option.
      </p>
      </p>
    </li>
    </li>
</ul>
  </ol>



<div id="samples">
  </div>
  </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>