Issue
I am using Android studio Chipmunk
I recently checked out to a new branch on Github and tested an app on the emulator. The app ran successfully. But when I looked at the layout resource files. They were completely blank.
Even the component tree is empty. But when I looked at the xml code, it is all there.
Image of split view of code and design
I even tried creating a new resource xml file and tried adding a component to it. It indicates that the component has been added yet the component is not visible in the blueprint or design view. Then I tried the "Forced Refresh Layout" option.
Doing this made the component visible in the design, then I added another component and this new component was still not visible.
And this whole issue is only present in this project. If I open a different project, then the design in the resource xml files are visible.
Solution
Everything became visible when I changed the "Theme for preview"
Answered By - Sathira
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.