1

I need to know if there is any way that i can test my xml appearence on phone without running the whole app, i mean just the xml file without any action for anything?

William Kinaan
  • 28,059
  • 20
  • 85
  • 118

1 Answers1

4

No there is no direct way to check the xml without recompiling and running on device.

But you can use graphical Layout editor to check the layout on approximated screens, or can create screen similar to your screen with same DPI and size.

and check it on graphical Layout editor.

NOTE: on device XML is just XML. where as when you compile the XML it is read and transformed to a view based code that is actually your UI.

Nimish Choudhary
  • 2,048
  • 18
  • 17