Android – programatically track .axml files that are used for UI

Is there a way on Android to see which .axml files are being loaded for UI rendering programatically?

For example:

  1. I run an app. First screen is loaded that is using one
    “example1.axml” file.
  2. You click on some button. Another activity
    gets started, which will be using “example2.axml”.

Is there a global event that I could sign for which would give me the ability to see which “axml” file was loaded for which activity/fragment?

Source: xml

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.