1page.title=Using the Android Project View 2 3@jd:body 4 5 6<p>The Android project view in Android Studio shows a flattened version of your project's structure 7that provides quick access to the key source files of Android projects and helps you work with 8the new <a href="{@docRoot}sdk/installing/studio-build.html">Gradle-based build system</a>. The 9Android project view:</p> 10 11<ul> 12<li>Groups the build files for all modules at the top level of the project hierarchy.</li> 13<li>Shows the most important source directories at the top level of the module hierarchy.</li> 14<li>Groups all the manifest files for each module.</li> 15<li>Shows resource files from all Gradle source sets.</li> 16<li>Groups resource files for different locales, orientations, and screen types in a single group 17per resource type.</li> 18</ul> 19 20<div style="float:right;margin-left:30px;width:240px"> 21<img src="{@docRoot}images/tools/projectview01.png" alt="" width="220" height="264"/> 22<p class="img-caption"><strong>Figure 1:</strong> Show the Android project view.</p> 23</div> 24 25 26<h2 id="enable-view">Enable the Android Project View</h2> 27 28<p>The Android project view is not yet enabled by default. To show the Android project view, 29click <strong>Project</strong> and select <strong>Android</strong>, as shown in Figure 1.</p> 30 31 32<h2 id="project-view">Use the Android Project View</h2> 33 34<p>The Android project view shows all the build files at the top level of the project hierarchy 35under <strong>Gradle Scripts</strong>. Each project module appears as a folder at the top 36level of the project hierarchy and contains these three elements at the top level:</p> 37 38<ul> 39<li><code>java/</code> - Source files for the module.</li> 40<li><code>manifests/</code> - Manifest files for the module.</li> 41<li><code>res/</code> - Resource files for the module.</li> 42</ul> 43 44<p>Figure 2 shows how the Android project view groups all the instances of the 45<code>ic_launcher.png</code> resource for different screen densities under the same element.</p> 46 47<p class="note"><strong>Note:</strong> The Android project view shows a hierarchy that helps you 48work with Android projects by providing a flattened structure that highlights the most commonly 49used files while developing Android applications. However, the project structure on disk differs 50from this representation.</p> 51 52<img src="{@docRoot}images/tools/projectview03.png" alt="" 53 style="margin-top:10px" width="650" height="508"/> 54<p class="img-caption"><strong>Figure 2:</strong> The traditional project view (left) and the 55Android project view (right).</p>