School Boy
School Boy

Reputation: 1183

How to get the private drawable to use in activity in android?

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.

Upvotes: 0

Views: 2505

Answers (2)

serabile
serabile

Reputation: 327

check this google icon design to download every icon you want.

Upvotes: 0

Vladimir
Vladimir

Reputation: 9753

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.

Upvotes: 2

Related Questions