CoordinatorLayout now supports defining inset views, and specifying that other views should dodge the inset views. This allows apps to replicate behavior patterns similar to the way FloatingActionButton moves out of the way of a Snackbar, but for any arbitrary view children. For more information, see the LayoutParams.insetEdge and LayoutParams.dodgeInsetEdges reference documentation.
Android requestLayout
标签(空格分隔): Android Layout
FloatingActionButton取消
layoutDependsOn
SnackBarSupport 24.2.0 中:
FloatingActionButton默认的Behavior没有layoutDepends,但是实现了根据Anchor是
AppBarLayout
和BottomSheet
时的UpdateVisibility
方法。是在android.support.design.widget.CoordinatorLayout#offsetChildToAnchor
中直接调用b.onDependentViewChanged(this, child, lp.mAnchorView);
来起作用的。Android Module 依赖库版本冲突
IndexableRecyclerView的build.gradle中看到一个声明依赖的关键字
provided 'com.xxx.xxx:xxx'
。这样就可以解决大部分的依赖Lib版本冲突的问题了。
Android 无障碍功能打开会导致SnackBar动画消失。