java - Android (eclipse) image button vs background image -



java - Android (eclipse) image button vs background image -

i'm trying figure out best use.

i'm trying develop simple game , designing starting activity. start game plan have start button. want utilize custom design though.

my question is, should utilize imagebutton (which believe imported image can click on, or textview android:background="@drawable/imagename". both seem allow onclick if i'm not mistaken what's pros , or 1 on other?

hope isn't duplicate question, found info on how upload images don't need. need know advantages using 1 versus other.

also, onclick textview apply background or text?

i think imagebutton maybe better. because must have click effect feedback . if utilize background image ,you have write selector.xml alter click , unclick effects. so, think imagebutton may better.

java android eclipse

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -