I've already done this before in my app (layout with textviews and the layout has the onclicks), however I do have a new question. Adding the statelist as the background works for the layout but what about the text changing colors?
I've had a hard time figuring out how to do style changes on the fly with android. Thanks for all the input everyone! On Dec 19, 11:39 pm, Sarwar Erfan <[email protected]> wrote: > Hi, > You missed one element. There is two text elements and one icon also in > right side of the number of connections (see attached image): > > <https://lh4.googleusercontent.com/_Wo4N90M9Gr0/TQ7ctWlInRI/AAAAAAAAAC...> > > I can confirm its not a button. Create your own layout. Use a statelist as > background. And, use 9 patch images in the statelist (if you want it to look > good in both orientations). > > Put two TextView and one ImageView in the layout. > > ------ > > State list: > http://developer.android.com/guide/topics/resources/drawable-resource... > > 9 Patch: > http://developer.android.com/guide/developing/tools/draw9patch.html > > Regards > Sarwar Erfan > > linkedin_connections_layout.png > 5KViewDownload -- 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

