In my android project i created a custom view using canvas so that i can draw shapes
but whenever i add the custom view to my xml my design and blueprint goes blank so that nothing in the design shows.
but if i run the project the custom view works perfectly in the emulator but doesn’t show on the design mode.
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
Restart android studio by clearing the cache.
enter image description here
It’s major issue with Dolphin version of Android Studio .So, please wait for update in it or go for Flamingo Canary version to fix it out.