我ScrollView在顶部有一个,里面有一个ConstraintLayout. 将高度设置为match_parent在 ConstraintLayout 中不起作用,因此高度与屏幕不匹配。在我的内部,我ConstraintLayout有一个浮动操作按钮,它没有停留在屏幕的右下角,而是停留在ConstraintLayout.
ScrollView
ConstraintLayout
match_parent
我的屏幕图像
如何使浮动操作按钮停留在屏幕右下角?
android floating-action-button android-constraintlayout
android ×1
android-constraintlayout ×1
floating-action-button ×1