6
ConstraintLayout에서 요소를 가운데에 배치하는 방법
ConstraintLayout응용 프로그램에서 응용 프로그램 레이아웃을 만드는 데 사용 하고 있습니다. A는 화면을 만들 wheren 하나에 내가 노력하고 EditText와 Button중심에 있어야하고 Button아래의해야 EditTextmarginTop 만 16dp와 함께. 여기 내 레이아웃과 스크린 샷이 현재 어떻게 보이는지 있습니다. activity_authenticate_content.xml <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="16dp" android:paddingRight="16dp" tools:context="com.icici.iciciappathon.login.AuthenticationActivity"> <android.support.design.widget.TextInputLayout android:id="@+id/client_id_input_layout" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" …