On Thu, Feb 17, 2011 at 10:26 AM, cool.manish <[email protected]> wrote:
> I have some more queries:
> 1. My tab is displaying some text which consuming more than the
> available space because of it on focused tab text is scrolling. I want
> to display this text as multiline. Is it possible?

Use the version of setIndicator() that takes a View and design your
own layout for the faces of the tabs.

> 2. I have used a grid view in which every cell is a button. I want to
> change the image on click of a button. I try to use same state as
> mentioned in your reply. but it has not worked.

It's not supposed to. There is no built-in state for "the button had
been clicked sometime in the past century". If you want that logic,
code it yourself.

I am not quite certain why you are using buttons in a GridView in the
first place, though. You will notice that the standard Android
launcher uses a GridView without buttons.

> 3. We have some need to display multiline text on Button and both line
> having different font. We googled and find out it could be done using
> HTML. is there any other way also?

Use two separate TextViews, I suppose. I am having difficulty
understanding your question.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 3.1 Available!

-- 
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

Reply via email to