shortcut to auto import android studio
For Windows/Linux, you can go to File -> Settings -> Editor -> General -> Auto Import -> Java and make the following changes:
change Insert imports on paste value to All
markAdd unambigious imports on the fly option as checked