测试机型红米1,其它华为.魅族.vivo.oppo无此问题
米BUG厉害了
报错信息can't call void android.view.View.setElevation(float) on null object
解决方法:
新建layout-v21 copy用到AppBarLayout的xml
加一行 android:stateListAnimator="@null"
<android.support.design.widget.AppBarLayout
android:id="@+id/mAppBarLayout"
android:stateListAnimator="@null"
android:layout_width="match_parent"
android:layout_height="wrap_content">
以后改xml调整东西记得v21的也修改