Sunday, December 19, 2010

[android-developers] Multiple TextViews Inside a Button

I want to make a button like the ones in the LinkedIn beta app. The
buttons that say "Connections" and then on the right has the count of
your connections.

To me this looks like a button with two textviews inside it. Is that
even possible. I tried creating that and got errors at runtime. Do I
need to create style for a layout that looks like a button and put the
two textviews inside there and have the layout do the onClick()
events? This seems like a hack to me, but I wanted to know if anyone
else has a solution for this.

Thanks,
Derek

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate