Android development self-study notes-1.1 (fan Wai) Introduction to common functions of AndroidStudio, androidstudio self-taught

Source: Internet
Author: User

Android development self-study notes-1.1 (fan Wai) Introduction to common functions of AndroidStudio, androidstudio self-taught
I. Introduction to the interface area

1. Project organization structure area, used to browse Project files. By default, projects are displayed as Android organizations.

2. In the Design area, the Design mode is used by default when the layout file is opened. You can drag the control directly to the interface to achieve what you see is what you get. The Design and Text below are the switching buttons for code and Design patterns, when you switch to TEXT, the code editing area is on the left and the WYSIWYG preview is on the right.

To switch to the TEXT interface

The interface for frequently-used code editing is very simple. The project tree on the left and the code editing area on the right provide the code editing interface:

3. The component tree is used to display the hierarchical relationship of the entire page layout.

4. In the property area, the Editable properties of the selected control are displayed (only visible in design mode ).

5. the toolbar provides common operation buttons.

2. Structure, Project, Captures panel on the left 1. Structure panel

Switch to the Structure panel. Structure is used to display the Structure of the current active file. It not only supports Java files, but also supports Xml files,. properties configuration files, and other types of files. In the figure 1, you can set to filter the content to be displayed, such as whether to display attributes or internal anonymous classes.

2. Project panel

The Project panel shows how files are organized in the Project. By default, the Project is Android and supports Project, Packages, Scratches, ProjectFiles, Problems... Switch the display mode. I usually use Android and Project presentations. You can explore and discuss them together.

A. Android Display Mode

The structure is as follows:

In the form of an APP, the manifests folder stores the AndroidManifests. XML inventory file. The Java file mainly stores our java source code file, similar to src.

 

The res folder category stores the resources used in the system. For example, key-value pairs are all stored in the values folder, and layout files are all stored in the layout folder. I personally prefer this type of organization.

 

Similar to the APP, there are some Gradle script files. Normally, we will not touch it. I have not studied it yet. I will try again later.

B. Project Display Method

The result is as follows:

This interface is used to browse Project files. The Project panel displays all current modules, and the android application module displays a mobile phone icon (app in ); the android library module displays a bookshelf icon (in android-lib), and the java library module displays a coffee icon (in java-lib). This display is more similar to Eclispe.

 

I have learned a little about other display methods and have not used them yet, so I don't know much about them yet. So I will not talk about them here, so I will record them when I use them.

3. Captures panel

I don't know how to use this panel for the time being. If you know it, you can leave a comment to help explain it.

 

3. Common buttons

4. Others

Note: The terminal panel serves the same purpose as the command line. You can execute some command line commands.

Note: displays the running logs of the connected terminal and memory usage and CPU usage of the application.

You can find the shortcut key ing in Keymap in File-setting. The following describes common shortcut keys:

Note: The preceding shortcut keys are described in IDEA. Because Android Studio originated from IDEA, IDEA shortcut keys are basically applicable to Android Studio.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.