开发者

Android: Add outer glow to ImageButton [duplicate]

This question already has answers here: Sta开发者_如何学JAVAndard Android Button with a different color (20 answers) Closed 3 years ago.

I have been looking at these posts: StateList , Different states

What I really want is to add an outer-glow or some way to highlight the button onclick versus making different images for the associated states. Is this possible using colors or themes?

Thanks in advance :)

EDIT:

I found a good solution here, not quite the right answer but a good one none the less:

standard-android-button-with-a-different-color


I think you will be better off making an image for the state rather than trying to use software to render this automatically. The software solution will most likely be slower.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜