আমি ConstraintLayoutঅ্যাপ্লিকেশন বিন্যাস তৈরি করতে আমার অ্যাপ্লিকেশনটিতে ব্যবহার করছি । আমি এমন একটি স্ক্রিন তৈরি করার চেষ্টা করছি যেখানে এটির একটি হওয়া উচিত EditTextএবং Buttonএটি কেন্দ্রে Buttonথাকা উচিত এবং EditTextকেবলমাত্র 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"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent">
<android.support.design.widget.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/login_client_id"
android:inputType="textEmailAddress" />
</android.support.design.widget.TextInputLayout>
<android.support.v7.widget.AppCompatButton
android:id="@+id/authenticate"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/login_auth"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="@id/client_id_input_layout"
app:layout_constraintRight_toRightOf="@id/client_id_input_layout"
app:layout_constraintTop_toTopOf="@id/client_id_input_layout" />
</android.support.constraint.ConstraintLayout>




<android.support.constraint.Guideline? আমরা যখন ব্যবহার করি তখন কি আমাদের প্রতিবার ব্যবহার করা দরকারConstraintLayout?