China Naming Network - Eight-character query< - Why can't I find the shape option in the newly created drawable XML file in my Android Studio?
Why can't I find the shape option in the newly created drawable XML file in my Android Studio?
Right-click on the drawable folder to create a new Drawable Resuource file, and change the root element to shape, and you can create it. If not, just do it manually.
& lt? Xml version =" 1.0 "encoding ="utf-8"? & gt
& ltshape xmlns:Android = "/apk/RES/Android " & gt;
& lt/shape & gt;
Create a new file, select an xml file, and then copy them into it.