K.Os
K.Os

Reputation: 5506

I cannot see interactive mode for the preview when using Jetpack Compose in Android Studio

I am using Android Studio Arctic Fox | 2020.3.1 Beta 2 I cannot see the interactive mode icon in the preview. Is this version support such option?

I want to be able to interact with the preview (for example click on the buttons) without deploying the apk on the device:

enter image description here

For now i see only the "Deploy preview" option. Is there something I am missing to use the interactive mode?

Upvotes: 19

Views: 3748

Answers (3)

Nikhil Biju
Nikhil Biju

Reputation: 825

I was unable to find the interactive mode at the top right until I disabled the Enable @preview picker option from settings

enter image description here

Upvotes: 0

Merkost
Merkost

Reputation: 2446

You just need to hover the mouse pointer over the upper right part of the preview

I was unable to find it today too in the newest Android Studio Giraffe, but it turned out to be very simple.

like this

Upvotes: 31

nglauber
nglauber

Reputation: 24044

This option is disabled by default on Arctic Fox because is considered experimental. So you must enable it in File > Settings > Experimental (Win) or Android Studio > Preferences > Experimental (Mac OS X)

enter image description here

Upvotes: 27

Related Questions