Reputation: 1
I recently installed android studio but can't see the preview of the app.
Upvotes: 0
Views: 3669
Reputation: 81
Go to Res->values->styles and change the name of your theme to base.theme. ex-> Theme.AppCompat.Light.DarkActionBar to Base.Theme.AppCompat.Light.DarkActionBar
Upvotes: 1
Reputation: 29
Please notice the value on the right of the small android icon, just above where the "preview" should be. There you should pick the API in wish the representation is made. If theres nothing to select there, you will need to install the necessary API packages.
Upvotes: 0
Reputation: 625
When you switch in the Layout.xml
, on the bottom you will see two options: -Design -Text. Chose Text
and then on the top right you will see Preview
appears and so you can click Preview
.
Upvotes: 1