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
I want to change the content of tab not tab image once I clicked image in
tab content.
Let me explain u clearly :
In MainActivity , I have 3 tabs tab1,tab2,tab3.
tab1 content is Activity1
tab2 content is Activity2
tab3 content is Activity3
In Activity1, I have image called image1 is there .
2 matches
Mail list logo