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.google.com/site/magouyaware > > > On Thu, Aug 30, 2012 at 11:47 AM, oriolmesia <[email protected]<javascript:> > > wrote: > >> 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 image buttons with some text situated on them. >> >> >> The only way to do that it's to change the button image or the text over >> the button? What kind of event I need to use, onClick method here it's >> useless? >> >> >> >> Thank you for your help, >> >> >> >> Oriol >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to >> [email protected]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > >
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

