jiawen
jiawen

Reputation: 1208

Is there a shortcut to open layout files (.xml) in android studio?

I can use command + o to search for java class files. but how to find .xml files?

Is there a keyboard shortcut?

Upvotes: 5

Views: 5695

Answers (4)

Lgufan
Lgufan

Reputation: 115

Windows/Linux press Control + Shift + N

Mac press Command + Shift + O

Upvotes: 2

Ravindra Shekhawat
Ravindra Shekhawat

Reputation: 4353

I still better option is provided by Android studio but may be no have look into it .I am providing screenshots to how you just specify files types in filer to speed up the searching process and get exactly the same files you require.

Step .1 Specify types of the files you require.Deselect the file types you don't want .I always keep Java and xml only in android project.

enter image description here

Step-2. Start Searching..

enter image description here

Step-3 : Enjoy :-)

Upvotes: 2

Sadaf Ayaz
Sadaf Ayaz

Reputation: 81

select the .xlm in java class and press clrt + shift + n..... it will open the .xlm :p

Upvotes: 7

Ducky
Ducky

Reputation: 2754

You can simply press Command + Shift + O then type in .xml

Upvotes: 16

Related Questions