how to make selector in android studio

后端 未结 2 1083
一生所求
一生所求 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

提交回复
热议问题