我在我的应用程序中使用 ConstraintLayout 来制作应用程序布局。 I am trying to a create a screen wheren one EditText and Button should be in center and Button should be below of EditText with a marginTop 只有 16dp。
这里有很多答案,没有什么很简单的。 It’s important that the ScrollView’s layout_height is set to match_parent while the layout_height of the ContraintLayout is wrap_content