This article focuses on some of the usage and settings of eclipse that are not explained in the environment configuration.
Bloggers Use a fool-type ADT, which can be used to copy and paste directly from the development environment.
1, first introduce the Bo Master interface layout
The view in the upper-left corner is used to view the project, and the lower-left corner view is used to view the box in the upper-right corner of the class structure in the currently open document. I opened a view to view the log
In log view I'll build a log filter to filter my own log.
2 Introduction to Common shortcut keys
alt+/: Auto-completion code (most commonly used)
Ctrl (Shift) +s: Save (All)
Ctrl+d: Deletes the current cursor in the row
Alt+↑/↓: The current line moves up or down
Ctrl+t: Viewing the inheritance relationship of the current class
Ctrl+shift+t: Finding classes
Ctrl+o: View the class structure of the current class, double-click O to view the methods that inherit the parent class at the same time
Ctrl+alt+↓: Copy forward directly in the next line
Press CTRL with the mouse click Type to go to the definition
The above is a few of the main shortcuts used by bloggers.
3, the following is the tool bar commonly used several functions
Clean-up works,
Open the window basically all the windows can't find it can be opened here again
3. Change the format of automatic code generation
Bloggers used to programming with VS and later changed to eclipse, feeling that this alignment was not used to finding a solution
Set the way in this window in the toolbar click Preferences Follow the Remove template comment
4, change the way of indentation
Click Formatter new to select all options except the last one to save OK to next line, but the code will feel a bit longer
5 new Android Project
File→new→others
Select Android→androidapplication Project
Application Name: App name does not start with an uppercase letter there will be a warning (and then egg)
Project name: project names, do not conflict with other project names
Package Name: Pack name, all lowercase letters, using the example package name will have a warning
The following is the development version of the selection, set these all the way to press ENTER can be
I'll write it here today. Welcome to the comment Supplement (づ ̄3 ̄) づ╭?~
Android Basics-eclipse Use