Re: [android-developers] button change onClick

2012-08-31 Thread oriol mesia
thank you all for your answers, this idea works perfectly 2012/8/31 Xiao.Yang > use selector is the right way... > > 在 2012年8月31日星期五UTC+8上午1时55分33秒,MagouyaWare写道: >> >> Use a statelist drawable, also known as a selector: >> http://developer.android.com/**guide/topics/resources/** >> drawable-res

Re: [android-developers] button change onClick

2012-08-31 Thread Xiao.Yang
use selector is the right way... 在 2012年8月31日星期五UTC+8上午1时55分33秒,MagouyaWare写道: > > Use a statelist drawable, also known as a selector: > > http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.googl

Re: [android-developers] button change onClick

2012-08-30 Thread Liem.T Vo
Please refer at url http://developer.android.com/guide/topics/ui/controls/button.html: I copied from that location for you: Custom background If you want to truly redefine the appearance of your button, you can specify a custom background. Instead of supplying a simple bitmap or color, howev

Re: [android-developers] button change onClick

2012-08-30 Thread Justin Anderson
Use a statelist drawable, also known as a selector: http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Aug 30, 2012 at 11:47 AM, oriolmesia wrote: > Hi guys, I have

[android-developers] button change onClick

2012-08-30 Thread oriolmesia
Hi guys, I have an issue with the final tweak of my new app. Now that I'm nearly to finish I'm looking to improve my interface. What I want it's just to see how my buttons change when someone pressed on them, only for the amount of time that the button remain pressed. The buttons on my app are