Rizwan Rajput
Rizwan Rajput

Reputation: 1

Can't see preview of android studio

I recently installed android studio but can't see the preview of the app.

my android studio screenshot

Upvotes: 0

Views: 3669

Answers (3)

developer
developer

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

FabioLaranjeira
FabioLaranjeira

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.

enter image description here

Upvotes: 0

Johny
Johny

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

Related Questions