我肯定遗漏了android的一些东西:运动布局中的可见性变化。这是我的布局的一个简化版本。
<MotionLayout>
<ImageView android:id="@+id/HeaderBackground" />
Bunch of image views, Text views that are constrainted to the HeaderBackground.
<RecyclerView android:visibility="visible">
<EditText android:visibilit