Believe that a lot of friends who use Eclipse, start with Android studio are not particularly convenient,
A: For example, how to put the mouse on the method above, there is a hint to use;
B: How to set the font size, and background color;
C: And how to view outline;
D: Other features that Eclipse does not have;
Here are some of the handy settings I've summarized.
Welcome friends to correct me or add many other settings, I will slowly update:
Q1: How to put the mouse up, there is a hint to use it?
A: Click Set button
Tick the following settings: Show quick doc om mouse move Delay (ms), followed by number of milliseconds after the prompt. The default is 500.
Q2: How do I set the font size and background color?
A: In the Settings interface click Select Appearance & Behavior below the appearance, can set the outline text size; At the same time in the UI Options theme, we can set the theme, so that the black interface can be displayed, Or the interface that once and eclipse color
Select the Color&font below editor to set the font size of the editor.
Q3: How to view outline?
A: In fact, Android Studio also has the outline function, only the name is not the same.
Click on the left side of the structure to see the outline function, just the name is not the same.
Q4: How do I import jars into a project?
A: First locate the project's Libs folder. Copy jar to Libs. Then right-click on the project-select Open Module setttings in the pop-up interface to select Dependencies, and then select the Green plus sign on the right. Select the second file dependency to add one of our jars.
Q5: How do I execute a project?
A: Click on the Green Triangle button, select our connected phone or simulator to
Q6: Whether it's your personal development or team development in a project group, you need to unify your file encoding.
For character-compatible issues, it is recommended that you useUtf-8. China'sWindowscomputer, the default character encoding isGBK:
a:settings - File Encodings .
Recommended toIDE Encoding,Project Encoding,Properties fielsare set to a uniform encoding.
Q7:Android Studio editing area. There will be a vertical line in the middle.
This line is used to remind the program ape that the code length of a line is best not to exceed this line. Suppose you don't want to show this line. can be set so.
a:settings -Editor -appearance. Uncheck the check boxShow right margin (configured in Code Style options). .
Q8: Display line number ?
A:Settings -Editor -appearance. TickShow Line Numbers
Q 9: show spaces.
I'm used to displaying spaces so I can see that indentation isTabIndents or spaces are indented. We recommend using a space indent
A:Settings -Editor -appearance. TickShow whitespaces
Q10: self-initiated import.
When you copy a piece of code from somewhere else into Android studio, the default Android studio does not actively import references to the classes used in this code. You can set this up.
a:settings -Editor -Auto Import. TickAdd unambiguous improts on the fly.
To be Continued ...
Some easy-to-use settings for Android Studio