开发者

Is there something like "Shows Touch on Highlight" (iPhone Interface Builder) on Android Platform?

开发者 https://www.devze.com 2023-02-07 19:07 出处:网络
I use lots of transparent buttons in my apps. The button graphical area is on the background. On iPhone there is

I use lots of transparent buttons in my apps. The button graphical area is on the background.

On iPhone there is

"Shows Touch on Highlight"

which is really super to easily get a good touch effect without lots of work.

Is there something like this on Android? So far I found

color scheme changes of the Button-Text or the buttom area on Android

which in most cases doesn't really look good since the "button" area on the graphics is not really a rectangle. The "Shows on highlight"-effect on iPhone seems to be the perfect solution. It would be nice to also have 开发者_如何学Cthat on android. Thanks very much!


you will need to add the highlights yourself in photoshop or gimp and use a state-list drawable http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList

0

精彩评论

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