问题
I want to use private drawable from android. for that i have downloade androi-8.jar which contains all the .png imgaes i want to use in my activity. i want use "btn_circle_disable_focused " drawable to the buttton but it shows me error regarding private resource. i want to use it in imageview also.
回答1:
You should copy desired .png to your project's /drawable folder. you can access it from xml like @*android:drawable/btn_circle_disable_focused
but it's not a good idea cause drawable being private means it may be unavailable on some devices.
回答2:
check this google icon design to download every icon you want.
来源:https://stackoverflow.com/questions/8077795/how-to-get-the-private-drawable-to-use-in-activity-in-android