简体   繁体   中英

Missing drawable folder in Android Studio

Beginner in Android Studio. Drawable folder missing in Android Studio. I need the drawable folder to change button backgrounds when pressed.

在此处输入图片说明

Right-click over res and make the drawable folder yourself. Choose New > "Android resource directory" from the context menu, choose drawable in the "Resource type" drop-down, and click the OK button.

You can create a folder called drawable.

Or you can rename the mipmap folder to drawable.

R.mipmap.* is also feasible.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM