|
@@ -7,7 +7,8 @@
|
|
|
<com.cooleshow.base.widgets.QMUIRadiusImageView
|
|
|
android:id="@+id/iv_pic"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="108dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ app:layout_constraintDimensionRatio="w,1:1"
|
|
|
android:layout_marginLeft="5dp"
|
|
|
android:layout_marginTop="5dp"
|
|
|
android:layout_marginRight="5dp"
|
|
@@ -16,10 +17,11 @@
|
|
|
app:qmui_corner_radius="10dp" />
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="108dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
android:layout_marginLeft="5dp"
|
|
|
android:layout_marginTop="5dp"
|
|
|
android:layout_marginRight="5dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_pic"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
android:background="@drawable/bg_teachable_instrument"
|