在工程下找到res文件夹,右键单击red -> new -> Android Resource File

会出现如下选择框

将selector改成shape , File name : 自己起个名字我的叫button

最终显示在这里
最终显示位置
在工程下找到res文件夹,右键单击red -> new -> Android Resource File
会出现如下选择框
将selector改成shape , File name : 自己起个名字我的叫button
最终显示在这里
最终显示位置
本文标题:在Android Studio下的drawable文件里如何创建
本文链接:https://www.haomeiwen.com/subject/foxykctx.html
网友评论