From 152d7cf2457f7bd6771d5799f5e2f572cf00774b Mon Sep 17 00:00:00 2001
From: Ricardo Cervera
Date: Tue, 24 Jun 2014 16:19:39 -0700
Subject: [PATCH] docs: Adding Create a Project instructions for L preview.
Change-Id: Idd8536d9fefc16b3e3c8ecf31d9f7c6b72eb85ba
---
docs/html/preview/setup-sdk.jd | 38 ++++++++++++++++++++++++----------
1 file changed, 27 insertions(+), 11 deletions(-)
diff --git a/docs/html/preview/setup-sdk.jd b/docs/html/preview/setup-sdk.jd
index 78003f546baea..4b0c3739cae35 100644
--- a/docs/html/preview/setup-sdk.jd
+++ b/docs/html/preview/setup-sdk.jd
@@ -111,15 +111,31 @@ image to your device.
Create a Project
-
- - Create a new Android project with the following properties:
-
- - Minimum SDK Version: L
- - Target SDK Version: L
- - Build Target: L
-
-
- - Choose the theme
Theme.Material
-
+Android Studio makes it easy to create a project for the L Developer Preview. Follow
+the steps described in Creating a
+Project. In the Form Factors screen:
-
+
+ - Check Phone and Tablet.
+ - Select API 20+: Android L (Preview) in Minimum SDK.
+
+
+On the development environment, open the build.gradle file for your module
+and make sure that:
+
+
+ compileSdkVersion is set to 'android-L'
+ minSdkVersion is set to 'L'
+ targetSdkVersion is set to 'L'
+
+
+To use the material theme, open the values/styles.xml in your project and make
+sure that you theme extends the material theme:
+
+
+<resources>
+ <style name="AppTheme" parent="android:Theme.Material">
+ <!-- Customize your theme here -->
+ </style>
+</resources>
+
\ No newline at end of file