/**
* Restore Bottom Navigation with or without animation
*
* @param withAnimation Boolean
*/
public void restoreBottomNavigation(boolean withAnimation) {
if (bottomNavigationBehavior != null) {
bottomNavigationBehavior.resetOffset(this, withAnimation);
} else {
// Show bottom navigation
ViewCompat.animate(this)
.translationY(0)
.setInterpolator(new LinearOutSlowInInterpolator())
.setDuration(withAnimation ? 300 : 0)
.start();
}
}
AHBottomNavigation.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:SystemBarTint
作者:
评论列表
文章目录