简体   繁体   中英

Android Studio: Drawable xml preview not working

Last time I did this, it worked. But now, my Android Studio couldn't show a preview of the drawable which i made before.

AS的“预览”窗格为空

在此处输入图片说明

See the upper Image click on Version 24 and select Version 23 or below it will solve your problem.

This is only drawable when item is pressed

So remove state_pressed=true

or add not state item

<item>
...
</item>

Android Studio is not showing preview when state_pressed=true . Replace true to false to enable the "show preview".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM