diff options
| author | 2014-06-25 00:04:30 +0000 | |
|---|---|---|
| committer | 2014-06-24 17:32:43 +0000 | |
| commit | 65d8b6b7ea581a507c32c872bda4717dc43c20ae (patch) | |
| tree | 8fb973f3f422038e211612db52ac64d09902fd88 | |
| parent | 7561313eb67372db1c809f092de238b10249f316 (diff) | |
| parent | 152d7cf2457f7bd6771d5799f5e2f572cf00774b (diff) | |
Merge "docs: Adding Create a Project instructions for L preview." into klp-modular-dev
| -rw-r--r-- | docs/html/preview/setup-sdk.jd | 38 |
1 files changed, 27 insertions, 11 deletions
diff --git a/docs/html/preview/setup-sdk.jd b/docs/html/preview/setup-sdk.jd index 78003f546bae..4b0c3739cae3 100644 --- a/docs/html/preview/setup-sdk.jd +++ b/docs/html/preview/setup-sdk.jd @@ -111,15 +111,31 @@ image to your device.</p> <h2 id="createProject">Create a Project</h2> -<ol> - <li>Create a new Android project with the following properties: - <ul> - <li>Minimum SDK Version: L</li> - <li>Target SDK Version: L</li> - <li>Build Target: L</li> - </ul> - </li> - <li>Choose the theme <code>Theme.Material</code> - <!-- put in name as it appears in Eclipse menu? --> +<p>Android Studio makes it easy to create a project for the L Developer Preview. Follow +the steps described in <a href="{@docRoot}sdk/installing/create-project.html">Creating a +Project</a>. In the <strong>Form Factors</strong> screen:</p> -</ol> +<ul> + <li>Check <strong>Phone and Tablet</strong>.</li> + <li>Select <strong>API 20+: Android L (Preview)</strong> in <strong>Minimum SDK</strong>.</li> +</ul> + +<p>On the development environment, open the <code>build.gradle</code> file for your module +and make sure that:</p> + +<ul> + <li><code>compileSdkVersion</code> is set to <code>'android-L'</code></li> + <li><code>minSdkVersion</code> is set to <code>'L'</code></li> + <li><code>targetSdkVersion</code> is set to <code>'L'</code></li> +</ul> + +<p>To use the material theme, open the <code>values/styles.xml</code> in your project and make +sure that you theme extends the material theme:</p> + +<pre> +<resources> + <style name="AppTheme" parent="android:Theme.Material"> + <!-- Customize your theme here --> + </style> +</resources> +</pre>
\ No newline at end of file |