0

I can not call most of the XML properties like gravity, width, height, margin, background, etc. in my project and I am working on this project for 20 days. Image button images and background images are not showing.

I've already 1.updated the sdks tools. 2.cleaned the project and rebuild it 3.invalidated and restarted caches

But when I created a new project to check why these properties were not being called, I found this result and am facing the same issue.

The first image is the previous project image. Previous Project Images not showing New Project enter image description here While the second image is the new project image, I tried to drag and drop but nothing is showing here & when I move the arrow over this it is showing mock view on the arrow tip window.

Tarun Sharma
  • 914
  • 9
  • 15

1 Answers1

0

implement this dependency into your build.gradle file.

implementation 'com.google.android.material:material:1.0.0'