|
@@ -87,32 +87,32 @@
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
<FrameLayout
|
|
|
- android:paddingBottom="6dp"
|
|
|
- tools:visibility="visible"
|
|
|
- android:visibility="gone"
|
|
|
android:id="@+id/fl_tenant_name"
|
|
|
android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="11dp"
|
|
|
android:layout_marginEnd="14dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:paddingBottom="6dp"
|
|
|
+ android:visibility="gone"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_teacher_name">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_teacher_name"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_tenant_name"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:background="@drawable/shape_12ffa673_border_ffbf9a_4dp"
|
|
|
- android:paddingStart="5dp"
|
|
|
- android:paddingEnd="5dp"
|
|
|
android:layout_gravity="center_vertical"
|
|
|
+ android:background="@drawable/shape_12ffa673_border_ffbf9a_4dp"
|
|
|
+ android:ellipsize="end"
|
|
|
android:gravity="center_vertical"
|
|
|
android:includeFontPadding="false"
|
|
|
android:maxLines="1"
|
|
|
+ android:paddingStart="5dp"
|
|
|
android:paddingTop="1dp"
|
|
|
+ android:paddingEnd="5dp"
|
|
|
android:paddingBottom="1dp"
|
|
|
- android:ellipsize="end"
|
|
|
android:textColor="@color/color_ff7b31"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
app:layout_constraintHorizontal_bias="0"
|
|
@@ -139,7 +139,7 @@
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:paddingBottom="20dp">
|
|
|
+ android:paddingBottom="12dp">
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/top_view_bg"
|
|
@@ -151,16 +151,16 @@
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
- android:layout_marginStart="14dp"
|
|
|
android:id="@+id/iv_cert"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="30dp"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="7dp"
|
|
|
android:layout_marginEnd="25dp"
|
|
|
android:adjustViewBounds="true"
|
|
|
android:clickable="false"
|
|
|
- android:layout_marginTop="7dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
android:src="@drawable/icon_home_un_certification"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<TextView
|
|
@@ -176,11 +176,11 @@
|
|
|
android:text="认证失败"
|
|
|
android:textColor="@color/color_fb5e32"
|
|
|
android:textSize="@dimen/sp_10"
|
|
|
- tools:visibility="visible"
|
|
|
android:visibility="gone"
|
|
|
app:layout_constraintCircle="@+id/iv_cert"
|
|
|
app:layout_constraintCircleAngle="80"
|
|
|
- app:layout_constraintCircleRadius="75dp" />
|
|
|
+ app:layout_constraintCircleRadius="75dp"
|
|
|
+ tools:visibility="visible" />
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/view_cert_red_point"
|
|
@@ -199,15 +199,15 @@
|
|
|
android:text="声部:"
|
|
|
android:textColor="@color/color_333333"
|
|
|
android:textSize="@dimen/sp_14"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/tv_current_subject"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/iv_cert"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_current_subject"
|
|
|
app:layout_constraintTop_toTopOf="@+id/iv_cert" />
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_marginEnd="14dp"
|
|
|
android:id="@+id/tv_current_subject"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
android:drawableRight="@drawable/icon_arrow_down2"
|
|
|
android:drawablePadding="5dp"
|
|
|
android:gravity="center"
|
|
@@ -215,8 +215,8 @@
|
|
|
android:paddingBottom="5dp"
|
|
|
android:textColor="@color/color_666666"
|
|
|
android:textSize="@dimen/sp_14"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_subject_title"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="@+id/tv_subject_title"
|
|
|
tools:text="中音萨克斯" />
|
|
|
|
|
@@ -273,11 +273,11 @@
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
- android:visibility="gone"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginEnd="11dp"
|
|
|
android:src="@drawable/icon_arrow_right_bg_tran"
|
|
|
+ android:visibility="gone"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
@@ -304,7 +304,6 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
|
- app:layout_constraintDimensionRatio="w,1:2.63"
|
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
|
android:descendantFocusability="blocksDescendants"
|
|
@@ -317,6 +316,7 @@
|
|
|
app:banner_indicator_selected_color="@color/white"
|
|
|
app:banner_indicator_selected_width="12dp"
|
|
|
app:banner_radius="10dp"
|
|
|
+ app:layout_constraintDimensionRatio="w,1:2.63"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/fl_course_enter" />
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
@@ -330,9 +330,9 @@
|
|
|
app:cardBackgroundColor="@color/color_fef9f4"
|
|
|
app:cardCornerRadius="10dp"
|
|
|
app:cardElevation="0dp"
|
|
|
- tools:visibility="visible"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/banner">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/banner"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
@@ -423,26 +423,48 @@
|
|
|
android:id="@+id/top_help_line"
|
|
|
android:layout_width="1px"
|
|
|
android:layout_height="1px"
|
|
|
- app:layout_goneMarginTop="20dp"
|
|
|
android:layout_marginTop="8dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/fl_top_menu" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/fl_top_menu"
|
|
|
+ app:layout_goneMarginTop="20dp" />
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/cl_home_statistics"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingStart="14dp"
|
|
|
+ android:paddingEnd="14dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/top_help_line"
|
|
|
+ tools:visibility="visible">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fl_statistics_container"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/cl_hot_album"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_20"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="@dimen/dp_12"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:background="@drawable/shape_white_10dp"
|
|
|
+ android:paddingTop="13dp"
|
|
|
+ android:paddingBottom="12dp"
|
|
|
android:visibility="gone"
|
|
|
- tools:visibility="visible"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/top_help_line">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/cl_home_statistics"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
- <View
|
|
|
+ <ImageView
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
android:id="@+id/tv_hot_album_line"
|
|
|
- android:layout_width="4dp"
|
|
|
- android:layout_height="17dp"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:background="@drawable/shape_course_title_tag_bg"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/icon_home_hot_album_tag"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_hot_album"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="@+id/tv_hot_album" />
|
|
@@ -464,7 +486,6 @@
|
|
|
android:id="@+id/tv_hot_album_more"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="@dimen/dp_14"
|
|
|
android:background="@drawable/shape_1a2dc7aa_10dp"
|
|
|
android:drawableEnd="@drawable/icon_arrow_right_green"
|
|
|
android:drawablePadding="5dp"
|
|
@@ -474,6 +495,7 @@
|
|
|
android:paddingEnd="5dp"
|
|
|
android:paddingBottom="2dp"
|
|
|
android:text="更多"
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
android:textColor="@color/color_2dc7aa"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_hot_album"
|
|
@@ -486,12 +508,98 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="12dp"
|
|
|
android:overScrollMode="never"
|
|
|
- android:paddingLeft="@dimen/dp_14"
|
|
|
android:scrollbars="none"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_hot_album" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/cl_music"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="@dimen/dp_12"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:background="@drawable/shape_white_10dp"
|
|
|
+ android:paddingStart="12dp"
|
|
|
+ android:paddingEnd="12dp"
|
|
|
+ android:paddingTop="13dp"
|
|
|
+ android:paddingBottom="12dp"
|
|
|
+ android:visibility="visible"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/cl_hot_album"
|
|
|
+ tools:visibility="visible">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_home_music_song"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:drawableStart="@drawable/icon_home_music_tag"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="曲目"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:drawablePadding="6dp"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_17"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_music_song_more"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/shape_1a2dc7aa_10dp"
|
|
|
+ android:drawableEnd="@drawable/icon_arrow_right_green"
|
|
|
+ android:drawablePadding="5dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingStart="7dp"
|
|
|
+ android:paddingTop="2dp"
|
|
|
+ android:paddingEnd="5dp"
|
|
|
+ android:paddingBottom="2dp"
|
|
|
+ android:text="更多"
|
|
|
+ android:textColor="@color/color_2dc7aa"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_home_music_song"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_home_music_song" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_recommend_music_song"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ app:layout_constraintHorizontal_weight="1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_hot_music_song"
|
|
|
+ android:src="@drawable/bg_home_recommend_music_song"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_home_music_song" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:id="@+id/iv_hot_music_song"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ app:layout_constraintHorizontal_weight="1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ android:src="@drawable/bg_home_hot_music_song"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_new_music_song"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_recommend_music_song"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/iv_recommend_music_song" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_new_music_song"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ app:layout_constraintHorizontal_weight="1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ android:src="@drawable/bg_home_last_new_music_song"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_hot_music_song"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/iv_recommend_music_song" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/cl_recommend_track"
|