Currently the only way I can find to change the tab title at run-time is use the undocumented ID for the textView:
TextView titleView = (TextView) myTab.findViewById(R.id.bb_bottom_bar_title);
titleView.setText(title);
Is there some way to do this that doesn't rely on undocumented features?
If not, could a method by added such as BottomBarTab.getTitleView()?
The methods actually exist in the BottomBarTab class, but their have package visibility.
I have the same issue with the tab icon.
Could you make those methods public?
@huttarl Thanks for the undocumented way for changing the tab title!
Most helpful comment
The methods actually exist in the BottomBarTab class, but their have package visibility.
I have the same issue with the tab icon.
Could you make those methods public?