how to make selector in android studio

后端 未结 2 1086
一生所求
一生所求 2021-02-07 07:17

While taking a course, I was instructed to make an xml selector for a button. The course said to make a new android xml in eclipse, but i am using android studio.

Also w

相关标签:
2条回答
  • 2021-02-07 07:54

    First of all, there will be no drawable folder when establish a new Android Project in Android Studio likes Eclipse does. Right click on res folder--> New--> Android Resource Directory--> resource type--> drawable, and now you get a drawable folder, and then, you can add your new drawable resource file, selector, shape and .etc

    0 讨论(0)
  • 2021-02-07 08:08

    Though it is already answered in the comment, enter image description here

    0 讨论(0)
提交回复
热议问题