epiphany
epiphany

Reputation: 766

Android studio fail to display the layout preview when clicking the design tab in the XML file

When i tried to open the design tab of the XML file in Android Studio. It fail to show it. I' ve tried to

1) clean, rebuild the project.

2) Invalidate caches & restart'the project .

Still nothing shows in the Layout preview .Any thoughts. Thanks

enter image description here

Upvotes: 2

Views: 104

Answers (1)

Bishoy Kamel
Bishoy Kamel

Reputation: 2355

I had a similar problem and fixed it by clicking on Theme icon and changed the AppTheme to another theme.

or change the API to another one from the tab above the layout.

Upvotes: 2

Related Questions