mipmap Folders in android studio
It’s best practice to place your app icons in mipmap- folders (not the drawable- folders) because they are used at resolutions different from the device’s current density.
What is the short cut to Auto import all in Android Studio?
For Windows/Linux, you can go to
File -> Settings -> Editor -> Auto Import -> Java and make the following changes:- change
Insert imports on pastevalue toAll - mark
Add unambigious imports on the flyoption as checked
Android Studio short cuts
Go to class
Go to file
Navigate open tabs
Look up recent files
Go to line
Navigate to last edit location
Go to declaration
Go to implementation
Go to source
Go to super Class
Show Call hierarchy
Search in path/project
CTRL + NGo to file
CTRL + Shift + NNavigate open tabs
ALT + Left-Arrow; ALT + Right-ArrowLook up recent files
CTRL + EGo to line
CTRL + GNavigate to last edit location
CTRL + SHIFT + BACKSPACEGo to declaration
CTRL + BGo to implementation
CTRL + ALT + BGo to source
F4Go to super Class
CTRL + UShow Call hierarchy
CTRL + ALT + HSearch in path/project
CTRL + SHIFT + F
Programming Shortcuts:-
Reformat code
Optimize imports
Code Completion
Issue quick fix
Surround code block
Rename and Refractor
Line Comment or Uncomment
Block Comment or Uncomment
Go to previous/next method
Show parameters for method
Quick documentation lookup
Delete a line
View declaration in layout
CTRL + ALT + LOptimize imports
CTRL + ALT + OCode Completion
CTRL + SPACEIssue quick fix
ALT + ENTERSurround code block
CTRL + ALT + TRename and Refractor
Shift + F6Line Comment or Uncomment
CTRL + /Block Comment or Uncomment
CTRL + SHIFT + /Go to previous/next method
ALT + UP/DOWNShow parameters for method
CTRL + PQuick documentation lookup
CTRL + QDelete a line
CTRL + YView declaration in layout
CTRL + B
No comments:
Post a Comment