Reputation:
Sorry, this is a very small post but I'm curious about a specific idea: I'm trying to figure out how I can get the XML code of a button, text view, etc. Basically, the idea is that I click a specific view and its XML code appears in a large text view.
Upvotes: 0
Views: 41
Reputation: 93569
There is no way to do that. The UI doesn't run on XML, the initial xml is used to create the view hierarchy (possibly, you don't have to use xml at all) then discarded. The views do not store their state as xml, that would be incredibly inefficient.
Upvotes: 1