Use the version of setIndicator() that takes a View, and design your
own tab layout.

On Sun, Jan 29, 2012 at 7:23 AM, W M <[email protected]> wrote:
>
>
> i'm new in android and want to put icon and text in same line in tab
> spec=t.newTabSpec("diary").setIndicator("Diary",
> r.getDrawable(R.drawable.diary)).setContent(intent);
> how can i do this ??
>
> --
> 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



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

_Android Programming Tutorials_ Version 4.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