Cannot see icon on widget button

Shay

Well-Known Member
Licensed User
Longtime User
Hi

I wrote widget, added panel, and inside button
and I added image to the button (bitmapdrawable)
in the emulator I can see the image inside the button, but on my device I cannot

any idea?
 

NJDude

Expert
Licensed User
Longtime User
I believe on a widget buttons can be "Default Drawable" only, read this tutorial.

I think you are confused between "emulator" and "designer", on the designer you will see the picture but not on the emulator or device.
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
I see. I will have to change it to imageview
is there a way to create "click feel" while pressing imageview?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…