Touch Event in android App development -


as new android development. in app table rows there touch row want give color particular row selected. rest of element should have original color it.

i have used ontouchlisterner it's nt working expected.

thnx help.............

just create rowbackground.xml in drawable having 2 state background image (normal , clicked state).

for follow link

http://www.gersic.com/blog.php?id=56

then give background resource rows creating.

also can have onclick listener rows ,just give tag or id unique 1 each row.

that it.. done...let me know wt happen?

thanks .


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -