Aovin Mahmud Aovin Mahmud - 5 months ago 41
Android Question

Import class in android studio

I am new in Android Studio. I don't know how to import a class in Android Studio, using shortcut key?

I have used Ctrl + 1 like Eclipse but it's not working in Android Studio.

Any solution ?

Answer

Look everytool has its own different ways

for import you can use alt + enter

here is official link for shortcuts for android studio

okay. for easiness you can do this , you can use Eclipse shortcuts in Androidstudio

File -> Settings -> Keymap -> <Choose Eclipse from Keymaps dropdown>