Я хочу сделать этот макет
![enter image description here](https://i.stack.imgur.com/ovjB1.png)
Question1. Как сделать этот макет, используя только Constraintlayout
Вопрос2. Почему бы не разбудить этот код. Если родительский макет не ConstraintLayout, то он работает хорошо.
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="50dp"
android:layout_marginRight="50dp"
android:gravity="center_vertical"
android:orientation="horizontal"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent">
<TextView
android:layout_width="30dp"
android:layout_height="18dp"
android:layout_marginRight="8dp"
android:layout_weight="0"
android:gravity="center"
android:text="@{item.mainTitleTagNm}"
android:textSize="11dp" />
<com.iscreamedu.appfont.FontTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="end"
android:singleLine="true"
android:text="@{item.mainTitleNm}"
android:textSize="15dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:text="@{item.orderNm}"
android:textSize="15dp" />
</LinearLayout>