Learn the heart of the classroom to embrace Android Studio video courses, harvest a lot, I am not advertising, but respect the author, because of this video course, only this article, this article is a note, in order to consult later, also to the vast number of Android Studio Novice provides a convenience, but I hope you still respect the original author Willclub
The structure of this article:
A.studio General Introduction
B. theme, Font size settings
C.eclipse shortcut key Settings
A.studio General Introduction
After opening Android studio, create a new project, as can only open a project, after entering the project, as provides us with 3 views: project, packages, and Android
If we're an Eclipse developer, project is the closest thing to Ecilpse, and this is a personal preference.
Now let's take a look at the toolbar
This is run, this is the debug, this is the debug will be used, the following will say, this is as the setting interface, this is the configuration of the project, will say, when we change the configuration of the Gradle, need to synchronize the Gradle, click this icon, this is the simulator manager, Start the emulator when clicked, this is the configuration simulator, this is equivalent to eclipse in the Ddms interface, this is the help interface.
B. theme, Font size configuration
We click to open the As settings interface, or by
You can also open the settings interface for AS
Select Apprearance in appearance & behavior, then select Theme, and select Darcula is the black theme. After the override default fonts line is selected, you can change the structure font and size of the left item, our font is unchanged, the size is changed to 14
When you click OK, the font size becomes larger.
So how do we change the font size of the code?
We open the As setting interface and select Editor->colors&fonts->font
We found that we could not change the font and size, when we need to click on Save As ...
Then a random name, click OK, we found that can change the font and size.
We can also import third party themes, Themes for IntelliJ idea, Phpstorm, Pycharm, RubyMine, Webstorm and Appcode we can download our favorite third-party themes on this website, Then by importing the subject
C.eclipse shortcut key Settings
We search for KEYMAP in the Setup interface, then we can find the shortcut key setting and set the shortcut key to Elicpse.
When we wrote the code, we found that whenever we hit a letter, the code hints would automatically prompt the code, and if we didn't like it, we could turn it off, in Editor->general->code completion, Autopopup code Completion reverse selection can be
We found in the process of writing code that the AS code hint is very sensitive to the case of letters, such as we want to prompt textview, we need to capitalize t instead of lowercase t, for me this is very troublesome, we can put case sensitive The default first letter in completion is changed to None
When we use eclipse, we can prompt the code through alt+/, while the corresponding function in as is class Name completion, then we will change the shortcut to our handy
In eclipse we can go into a class by Ctrl + LEFT mouse button to see detailed code, in as in this feature is declaration, in Mac OS we can set to command+ the left mouse button
Finally, we will editor->auto Import->java under the tick, when we develop the process, copy the code from somewhere else, so as will help us to automatically guide the package, when there is a conflict, will ask us which package under, manually select.
Finally, how do i show the line number? We open the Settings screen, hit show line number, select Appearance, the right box in the tick can be
Copyright NOTICE: Welcome reprint, Reprint please indicate the source http://blog.csdn.net/nugongahou110
Getting Started with Android Studio--eclipse shortcut key configuration