Hi Rajesh,
Firstly, im new to android, just take a look on the following if it
help u.

u can assign the icon for the tab using
"mTabHost.getTabWidget().getChildAt(0).getBackground()"
where mTabHost is the "TabHost" control from the layout.

for changing the image when clicked, u can use
"mTabHost.getTabWidget().getChildAt(0).setOnClickListener()"
and reassign the tab with new icon or text here.

Thanks and regards
Nagaraj P Rao

On Aug 3, 4:21 pm, Rajesh Pelluru <mail2pell...@gmail.com> wrote:
> Hi,
>  In my layout I have three tabs are there Tab1,Tab2,and Tab3.
>
> In Tab1 content ,I have a image called image1 and on click of that image I
> need to change the content of tab.
>
> If I change content also , my tab needs to be highlighted ...
>
>  How can I achieve that one ??
>
> --Rajesh

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to