You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can I change icon n text of moreTab when clicked it or i wanna make something like toggle when we click it!
ex : when we click moretab && is up arrow >change icon to downarrow and text also.
Text : Up > Down
Icon : upicon>downicon
ExpandableBottomBar.java || Line 399
if (pos == mMoreTabPosition && mAllTabsVisible == false) {
setBtmTabsVisibility(btmTabContainers, View.VISIBLE);
mAllTabsVisible = true;
ValueAnimator btm = ValueAnimator.ofFloat(0, topTabContainer.getHeight());
btm.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueAnimator valueAnimator) {
float val = (float) valueAnimator.getAnimatedValue();
LinearLayout.LayoutParams p = new LayoutParams(btmTabContainers[0].getLayoutParams().width, (int) val);
setLayoutParamsToBtmTabs(btmTabContainers, p);
}
});
// Custom
TabInformation tf = mTabInfoList.get(pos);
tf.title = "Down";
tf.iconResId = ArrowDownIconRecId;
tf.notify(); // notify() is showing error something like:
java.lang.IllegalMonitorStateException: object not locked by thread before notify()
btm.setDuration(mAnimationDuration);
btm.start();
}
Can I change icon n text of moreTab when clicked it or i wanna make something like toggle when we click it!
ex : when we click moretab && is up arrow >change icon to downarrow and text also.
Text : Up > Down
Icon : upicon>downicon
ExpandableBottomBar.java || Line 399
Its also not working
The text was updated successfully, but these errors were encountered: