turtleboy
turtleboy

Reputation: 7574

how to make second layout xml file in android with graphical tab?

i'm developing android in eclipse. i have a main.xml file which has a graphical layout tab so you can preview the layout. i'm wanting to create a second layout file for a different activity but when i create the xml layout file there is no graphical layout tab to preview the layout. how can i do this? thanks

Upvotes: 0

Views: 6826

Answers (1)

Ilkka
Ilkka

Reputation: 2694

Make sure you open the layout XML in Eclipse using the "Android Layout Editor": right-click (or if on a Mac, ctrl-click) the layout file, then select "Open With..." and "Android Layout Editor".

Upvotes: 3

Related Questions