I want change my tabindicator dynamically based on the tabname mentioned in the code below,
anyone who can help me?
thanks in advance.
tabHost.setOnTabChangedListener(new OnTabChangeListener() {
@Override
public void onTabChanged(String tabId) {
String tabName = getCurrentWebView().getUrl();
// set the tabname as tabindicator of current tab
}
});
}
You can do it with: