Android Studio创建shape.xml文件的方法有很多种:
第一种:
1、在工程中(Android目录结构下)右键点击 res
然后点击New --- Android Resource File
然后你会看到如下界面,File name 填写shape的名称,Resource type 改成 Drawable ,Root element 改成shape
然后点击OK,你的shape就创建好了。
第二种:
右键点击Drawable
点击New --- Drawable Resource File