|
@@ -46,8 +46,8 @@
|
|
|
|
|
|
<com.cooleshow.base.widgets.QMUIRadiusImageView
|
|
|
android:id="@+id/iv_avatar"
|
|
|
- android:layout_width="47dp"
|
|
|
- android:layout_height="51dp"
|
|
|
+ android:layout_width="54dp"
|
|
|
+ android:layout_height="54dp"
|
|
|
android:layout_marginTop="17dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/view_line"
|
|
@@ -79,6 +79,26 @@
|
|
|
app:layout_constraintTop_toTopOf="@+id/tv_title" />
|
|
|
|
|
|
<TextView
|
|
|
+ android:id="@+id/tv_vip_course_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/shape_couse_type_text_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingStart="6dp"
|
|
|
+ android:paddingTop="2dp"
|
|
|
+ android:paddingEnd="6dp"
|
|
|
+ android:paddingBottom="2dp"
|
|
|
+ android:textColor="@color/color_ff8c00"
|
|
|
+ android:textSize="@dimen/sp_11"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_course_name"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_title"
|
|
|
+ tools:text="单簧管" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ app:layout_goneMarginStart="0dp"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
android:id="@+id/tv_course_name"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -86,14 +106,14 @@
|
|
|
android:background="@drawable/shape_couse_type_text_bg"
|
|
|
android:gravity="center"
|
|
|
android:includeFontPadding="false"
|
|
|
- android:paddingStart="4dp"
|
|
|
+ android:paddingStart="6dp"
|
|
|
android:paddingTop="2dp"
|
|
|
- android:paddingEnd="4dp"
|
|
|
+ android:paddingEnd="6dp"
|
|
|
android:paddingBottom="2dp"
|
|
|
android:textColor="@color/color_ff8c00"
|
|
|
android:textSize="@dimen/sp_11"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_vip_course_tag"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/tv_title"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_title"
|
|
|
tools:text="单簧管" />
|
|
|
|
|
@@ -139,8 +159,8 @@
|
|
|
android:background="@drawable/shape_course_status_normal"
|
|
|
android:gravity="center"
|
|
|
android:textColor="@color/color_2dc7aa"
|
|
|
- android:textSize="@dimen/sp_14"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
tools:text="调课" />
|
|
|
|