|
@@ -44,7 +44,7 @@
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="30dp"
|
|
|
android:layout_marginStart="17dp"
|
|
|
- android:layout_marginEnd="17dp"
|
|
|
+ android:layout_marginEnd="9dp"
|
|
|
android:background="@drawable/shape_f6f6f6_17dp"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/iv_logo"
|
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_logo"
|
|
@@ -96,290 +96,419 @@
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="@+id/iv_logo" />
|
|
|
|
|
|
- <androidx.core.widget.NestedScrollView
|
|
|
- android:id="@+id/scroll_layout"
|
|
|
+ <com.scwang.smart.refresh.layout.SmartRefreshLayout
|
|
|
+ android:id="@+id/refreshLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
- android:overScrollMode="never"
|
|
|
- android:scrollbars="none"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/view_top_bg">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_top_bg"
|
|
|
+ app:srlEnableLoadMore="false">
|
|
|
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ <androidx.core.widget.NestedScrollView
|
|
|
+ android:id="@+id/scroll_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:scrollbars="none"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_top_bg">
|
|
|
|
|
|
- <View
|
|
|
- android:id="@+id/view_bg_header"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:background="@drawable/shape_bottom_18dp_white"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/view_line2"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
-
|
|
|
- <com.youth.banner.Banner
|
|
|
- android:id="@+id/banner"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/dp_132"
|
|
|
- android:layout_marginLeft="@dimen/dp_14"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:layout_marginRight="@dimen/dp_14"
|
|
|
- android:descendantFocusability="blocksDescendants"
|
|
|
- app:banner_indicator_normal_color="@color/transparent"
|
|
|
- app:banner_indicator_selected_color="@color/transparent"
|
|
|
- app:banner_radius="12dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
-
|
|
|
-
|
|
|
- <androidx.cardview.widget.CardView
|
|
|
- android:id="@+id/bg_announcement"
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
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:visibility="visible"
|
|
|
- app:cardBackgroundColor="@color/color_fef9f4"
|
|
|
- app:cardCornerRadius="10dp"
|
|
|
- app:cardElevation="0dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/banner">
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_bg_header"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:background="@drawable/shape_bottom_18dp_white"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_line2"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <com.youth.banner.Banner
|
|
|
+ android:id="@+id/banner"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_132"
|
|
|
+ android:layout_marginLeft="@dimen/dp_14"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_marginRight="@dimen/dp_14"
|
|
|
+ android:descendantFocusability="blocksDescendants"
|
|
|
+ app:banner_indicator_normal_color="@color/transparent"
|
|
|
+ app:banner_indicator_selected_color="@color/transparent"
|
|
|
+ app:banner_radius="12dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.cardview.widget.CardView
|
|
|
+ android:id="@+id/bg_announcement"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="@dimen/dp_12"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:visibility="visible"
|
|
|
+ app:cardBackgroundColor="@color/color_fef9f4"
|
|
|
+ app:cardCornerRadius="10dp"
|
|
|
+ app:cardElevation="0dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/banner">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_bell"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="6dp"
|
|
|
- android:src="@drawable/icon_home_bell"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_bell"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="6dp"
|
|
|
+ android:src="@drawable/icon_home_bell"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_notice_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:layout_marginStart="7dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:textColor="@color/color_1a1a1a"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_bell"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ tools:text="网络教室升级公告" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/im_notice_list"
|
|
|
+ android:layout_width="@dimen/dp_38"
|
|
|
+ android:layout_height="@dimen/dp_38"
|
|
|
+ android:layout_marginRight="@dimen/dp_1"
|
|
|
+ android:padding="@dimen/dp_10"
|
|
|
+ android:src="@drawable/icon_arrow_right_bg_tran"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </androidx.cardview.widget.CardView>
|
|
|
+
|
|
|
+ <androidx.viewpager.widget.ViewPager
|
|
|
+ android:id="@+id/viewpager_menu"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_93"
|
|
|
+ android:layout_marginTop="@dimen/dp_8"
|
|
|
+ android:layout_marginBottom="@dimen/dp_2"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/bg_announcement" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_notice_content"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="44dp"
|
|
|
- android:layout_marginStart="7dp"
|
|
|
- android:gravity="center"
|
|
|
- android:includeFontPadding="false"
|
|
|
- android:textColor="@color/color_1a1a1a"
|
|
|
- android:textSize="@dimen/sp_14"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/iv_bell"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- tools:text="网络教室升级公告" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/im_notice_list"
|
|
|
- android:layout_width="@dimen/dp_38"
|
|
|
- android:layout_height="@dimen/dp_38"
|
|
|
- android:layout_marginRight="@dimen/dp_1"
|
|
|
- android:padding="@dimen/dp_10"
|
|
|
- android:src="@drawable/icon_arrow_right_bg_tran"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
- </androidx.cardview.widget.CardView>
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_line2"
|
|
|
+ android:layout_width="1px"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:layout_marginTop="21dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/viewpager_menu" />
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.cardview.widget.CardView
|
|
|
+ android:id="@+id/bg_announcement2"
|
|
|
+ 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:visibility="gone"
|
|
|
+ app:cardBackgroundColor="@color/color_fef9f4"
|
|
|
+ app:cardCornerRadius="10dp"
|
|
|
+ app:cardElevation="0dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_bg_header">
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_bell2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="6dp"
|
|
|
+ android:src="@drawable/icon_home_bell"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_notice_content2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:layout_marginStart="7dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:textColor="@color/color_1a1a1a"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_bell2"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ tools:text="网络教室升级公告" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/im_notice_list2"
|
|
|
+ android:layout_width="@dimen/dp_38"
|
|
|
+ android:layout_height="@dimen/dp_38"
|
|
|
+ android:layout_marginRight="@dimen/dp_1"
|
|
|
+ android:padding="@dimen/dp_10"
|
|
|
+ android:src="@drawable/icon_calendar_next_month"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </androidx.cardview.widget.CardView>
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.cardview.widget.CardView
|
|
|
+ android:id="@+id/fl_course_enter"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:cardBackgroundColor="@color/white"
|
|
|
+ app:cardCornerRadius="10dp"
|
|
|
+ app:cardElevation="0dp"
|
|
|
+ app:cardPreventCornerOverlap="true"
|
|
|
+ app:cardUseCompatPadding="false"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/bg_announcement2">
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="70dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_live_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="128dp"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:text="您有新课程即将开始"
|
|
|
+ android:textColor="@color/color_1a1a1a"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/alarm_icon"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/alarm_icon"
|
|
|
+ android:layout_width="@dimen/dp_15"
|
|
|
+ android:layout_height="@dimen/dp_15"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:src="@drawable/small_alarm_clock"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_live_title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_live_title" />
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_live_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_1"
|
|
|
+ android:layout_marginBottom="@dimen/dp_5"
|
|
|
+ android:paddingStart="5dp"
|
|
|
+ android:textColor="@color/color_FF806F"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/alarm_icon"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/alarm_icon"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/alarm_icon"
|
|
|
+ tools:text="今日 16:30-17:05" />
|
|
|
+
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="11dp"
|
|
|
+ android:src="@drawable/icon_arrow_right_bg_tran"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </androidx.cardview.widget.CardView>
|
|
|
+
|
|
|
+ <com.airbnb.lottie.LottieAnimationView
|
|
|
+ android:id="@+id/iv_course_enter_anim"
|
|
|
+ android:layout_width="128dp"
|
|
|
+ android:layout_height="91dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/fl_course_enter"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/fl_course_enter"
|
|
|
+ app:lottie_autoPlay="true"
|
|
|
+ app:lottie_loop="true" />
|
|
|
|
|
|
- <androidx.viewpager.widget.ViewPager
|
|
|
- android:id="@+id/viewpager_menu"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/dp_93"
|
|
|
- android:layout_marginTop="@dimen/dp_8"
|
|
|
- android:layout_marginBottom="@dimen/dp_2"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/bg_announcement" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/view_line2"
|
|
|
- android:layout_width="1px"
|
|
|
- android:layout_height="1px"
|
|
|
- android:layout_marginTop="21dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/viewpager_menu" />
|
|
|
-
|
|
|
-
|
|
|
- <androidx.cardview.widget.CardView
|
|
|
- android:id="@+id/bg_announcement2"
|
|
|
- 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:visibility="gone"
|
|
|
- app:cardBackgroundColor="@color/color_fef9f4"
|
|
|
- app:cardCornerRadius="10dp"
|
|
|
- app:cardElevation="0dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/view_bg_header">
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/cl_hot_album"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_marginTop="@dimen/dp_18"
|
|
|
+ android:visibility="visible"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/fl_course_enter">
|
|
|
+
|
|
|
+ <View
|
|
|
+ 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"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_hot_album"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_hot_album" />
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_bell2"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_hot_album"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="6dp"
|
|
|
- android:src="@drawable/icon_home_bell"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ android:layout_marginLeft="@dimen/dp_6"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="热门专辑"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_18"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_hot_album_line"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_notice_content2"
|
|
|
+ android:id="@+id/tv_hot_album_more"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="44dp"
|
|
|
- android:layout_marginStart="7dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="@dimen/dp_14"
|
|
|
+ android:background="@drawable/shape_f2f2f2_9dp"
|
|
|
+ android:drawableEnd="@drawable/icon_next_right"
|
|
|
+ android:drawablePadding="1dp"
|
|
|
android:gravity="center"
|
|
|
- android:includeFontPadding="false"
|
|
|
- android:textColor="@color/color_1a1a1a"
|
|
|
- android:textSize="@dimen/sp_14"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/iv_bell2"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- tools:text="网络教室升级公告" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/im_notice_list2"
|
|
|
- android:layout_width="@dimen/dp_38"
|
|
|
- android:layout_height="@dimen/dp_38"
|
|
|
- android:layout_marginRight="@dimen/dp_1"
|
|
|
- android:padding="@dimen/dp_10"
|
|
|
- android:src="@drawable/icon_calendar_next_month"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ android:paddingStart="7dp"
|
|
|
+ android:paddingTop="2dp"
|
|
|
+ android:paddingEnd="3dp"
|
|
|
+ android:paddingBottom="2dp"
|
|
|
+ android:text="更多"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_hot_album"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
- </androidx.cardview.widget.CardView>
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_hot_album" />
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_hot_album"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ 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.cardview.widget.CardView
|
|
|
- android:id="@+id/fl_course_enter"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:layout_marginTop="24dp"
|
|
|
- android:layout_marginEnd="14dp"
|
|
|
- android:visibility="gone"
|
|
|
- app:cardBackgroundColor="@color/white"
|
|
|
- app:cardCornerRadius="10dp"
|
|
|
- app:cardElevation="0dp"
|
|
|
- app:cardPreventCornerOverlap="true"
|
|
|
- app:cardUseCompatPadding="false"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/bg_announcement2">
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/cl_hot_track"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="70dp">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_18"
|
|
|
+ android:visibility="visible"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/cl_hot_album">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/tv_hot_track_line"
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:background="@drawable/shape_course_title_tag_bg"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_hot_track"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_hot_track" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_live_title"
|
|
|
+ android:id="@+id/tv_hot_track"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="128dp"
|
|
|
- android:includeFontPadding="false"
|
|
|
- android:text="您有新课程即将开始"
|
|
|
- android:textColor="@color/color_1a1a1a"
|
|
|
- android:textSize="@dimen/sp_16"
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/alarm_icon"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintVertical_chainStyle="packed" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/alarm_icon"
|
|
|
- android:layout_width="@dimen/dp_15"
|
|
|
- android:layout_height="@dimen/dp_15"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:src="@drawable/small_alarm_clock"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/tv_live_title"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_live_title" />
|
|
|
-
|
|
|
+ android:layout_marginLeft="@dimen/dp_6"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="热门曲目"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_18"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_hot_track_line"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_live_time"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_1"
|
|
|
- android:layout_marginBottom="@dimen/dp_5"
|
|
|
- android:paddingStart="5dp"
|
|
|
- android:textColor="@color/color_FF806F"
|
|
|
- android:textSize="@dimen/sp_13"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/alarm_icon"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/alarm_icon"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/alarm_icon"
|
|
|
- tools:text="今日 16:30-17:05" />
|
|
|
-
|
|
|
-
|
|
|
- <ImageView
|
|
|
+ android:id="@+id/tv_hot_track_more"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="11dp"
|
|
|
- android:src="@drawable/icon_arrow_right_bg_tran"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ android:layout_marginRight="@dimen/dp_14"
|
|
|
+ android:background="@drawable/shape_f2f2f2_9dp"
|
|
|
+ android:drawableEnd="@drawable/icon_next_right"
|
|
|
+ android:drawablePadding="1dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingStart="7dp"
|
|
|
+ android:paddingTop="2dp"
|
|
|
+ android:paddingEnd="3dp"
|
|
|
+ android:paddingBottom="2dp"
|
|
|
+ android:text="更多"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_hot_track"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
-
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_hot_track" />
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_hot_track"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="239dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:paddingLeft="@dimen/dp_14"
|
|
|
+ android:scrollbars="none"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_hot_track" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
- </androidx.cardview.widget.CardView>
|
|
|
-
|
|
|
- <com.airbnb.lottie.LottieAnimationView
|
|
|
- android:id="@+id/iv_course_enter_anim"
|
|
|
- android:layout_width="128dp"
|
|
|
- android:layout_height="91dp"
|
|
|
- android:visibility="gone"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/fl_course_enter"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/fl_course_enter"
|
|
|
- app:lottie_autoPlay="true"
|
|
|
- app:lottie_loop="true" />
|
|
|
|
|
|
|
|
|
- <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_18"
|
|
|
- android:visibility="visible"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/fl_course_enter">
|
|
|
-
|
|
|
<View
|
|
|
- android:id="@+id/tv_hot_album_line"
|
|
|
+ android:id="@+id/tv_recommend_teacher_line"
|
|
|
android:layout_width="4dp"
|
|
|
android:layout_height="17dp"
|
|
|
android:layout_marginStart="14dp"
|
|
|
android:background="@drawable/shape_course_title_tag_bg"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_hot_album"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_recommend_teacher_title"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_hot_album" />
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_recommend_teacher_title" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_hot_album"
|
|
|
+ android:id="@+id/tv_recommend_teacher_title"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/dp_6"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
android:gravity="center"
|
|
|
- android:text="热门专辑"
|
|
|
+ android:text="推荐达人"
|
|
|
android:textColor="@color/color_333333"
|
|
|
android:textSize="@dimen/sp_18"
|
|
|
android:textStyle="bold"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/tv_hot_album_line"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_recommend_teacher_line"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/cl_hot_track" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_hot_album_more"
|
|
|
+ android:id="@+id/tv_recommend_teacher_more"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
@@ -394,272 +523,152 @@
|
|
|
android:text="更多"
|
|
|
android:textColor="@color/color_999999"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_hot_album"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_recommend_teacher_title"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_hot_album" />
|
|
|
-
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/rv_hot_album"
|
|
|
- android:layout_width="match_parent"
|
|
|
- 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_hot_track"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_18"
|
|
|
- android:visibility="visible"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/cl_hot_album">
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/tv_hot_track_line"
|
|
|
- android:layout_width="4dp"
|
|
|
- android:layout_height="17dp"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:background="@drawable/shape_course_title_tag_bg"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_hot_track"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_hot_track" />
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_recommend_teacher_title" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_hot_track"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/dp_6"
|
|
|
- android:gravity="center"
|
|
|
- android:text="热门曲目"
|
|
|
- android:textColor="@color/color_333333"
|
|
|
- android:textSize="@dimen/sp_18"
|
|
|
- android:textStyle="bold"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/tv_hot_track_line"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_hot_track_more"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="@dimen/dp_14"
|
|
|
- android:background="@drawable/shape_f2f2f2_9dp"
|
|
|
- android:drawableEnd="@drawable/icon_next_right"
|
|
|
- android:drawablePadding="1dp"
|
|
|
- android:gravity="center"
|
|
|
- android:paddingStart="7dp"
|
|
|
- android:paddingTop="2dp"
|
|
|
- android:paddingEnd="3dp"
|
|
|
- android:paddingBottom="2dp"
|
|
|
- android:text="更多"
|
|
|
- android:textColor="@color/color_999999"
|
|
|
- android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_hot_track"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_hot_track" />
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/rv_hot_track"
|
|
|
+ android:id="@+id/recyclerview_recommend_talent"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="239dp"
|
|
|
+ android:layout_height="146dp"
|
|
|
android:layout_marginTop="12dp"
|
|
|
android:overScrollMode="never"
|
|
|
android:paddingLeft="@dimen/dp_14"
|
|
|
android:scrollbars="none"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_hot_track" />
|
|
|
-
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
-
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/tv_recommend_teacher_line"
|
|
|
- android:layout_width="4dp"
|
|
|
- android:layout_height="17dp"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:background="@drawable/shape_course_title_tag_bg"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_recommend_teacher_title"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_recommend_teacher_title" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_recommend_teacher_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/dp_6"
|
|
|
- android:layout_marginTop="30dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="推荐达人"
|
|
|
- android:textColor="@color/color_333333"
|
|
|
- android:textSize="@dimen/sp_18"
|
|
|
- android:textStyle="bold"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/tv_recommend_teacher_line"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/cl_hot_track" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_recommend_teacher_more"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="@dimen/dp_14"
|
|
|
- android:background="@drawable/shape_f2f2f2_9dp"
|
|
|
- android:drawableEnd="@drawable/icon_next_right"
|
|
|
- android:drawablePadding="1dp"
|
|
|
- android:gravity="center"
|
|
|
- android:paddingStart="7dp"
|
|
|
- android:paddingTop="2dp"
|
|
|
- android:paddingEnd="3dp"
|
|
|
- android:paddingBottom="2dp"
|
|
|
- android:text="更多"
|
|
|
- android:textColor="@color/color_999999"
|
|
|
- android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_recommend_teacher_title"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_recommend_teacher_title" />
|
|
|
-
|
|
|
-
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/recyclerview_recommend_talent"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="146dp"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:overScrollMode="never"
|
|
|
- android:paddingLeft="@dimen/dp_14"
|
|
|
- android:scrollbars="none"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_recommend_teacher_title" />
|
|
|
-
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
- android:id="@+id/cl_video_course"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_30"
|
|
|
- android:visibility="visible"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/recyclerview_recommend_talent">
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/tv_video_course_line"
|
|
|
- android:layout_width="4dp"
|
|
|
- android:layout_height="17dp"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:background="@drawable/shape_course_title_tag_bg"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_video_course_title"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_video_course_title" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_recommend_teacher_title" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_video_course_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/dp_6"
|
|
|
- android:gravity="center"
|
|
|
- android:text="精品视频课"
|
|
|
- android:textColor="@color/color_333333"
|
|
|
- android:textSize="@dimen/sp_16"
|
|
|
- android:textStyle="bold"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/tv_video_course_line"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_video_course_more"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/cl_video_course"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="@dimen/dp_20"
|
|
|
- android:background="@drawable/shape_f2f2f2_9dp"
|
|
|
- android:drawableEnd="@drawable/icon_next_right"
|
|
|
- android:drawablePadding="1dp"
|
|
|
- android:gravity="center"
|
|
|
- android:paddingStart="7dp"
|
|
|
- android:paddingTop="2dp"
|
|
|
- android:paddingEnd="3dp"
|
|
|
- android:paddingBottom="2dp"
|
|
|
- android:text="更多"
|
|
|
- android:textColor="@color/color_999999"
|
|
|
- android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_video_course_title"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_video_course_title" />
|
|
|
+ android:layout_marginTop="@dimen/dp_30"
|
|
|
+ android:visibility="visible"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/recyclerview_recommend_talent">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/tv_video_course_line"
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:background="@drawable/shape_course_title_tag_bg"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_video_course_title"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_video_course_title" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_video_course_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/dp_6"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="精品视频课"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_video_course_line"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/rv_video_course"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:overScrollMode="never"
|
|
|
- android:paddingTop="@dimen/dp_7"
|
|
|
- android:scrollbars="none"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_video_course_title" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_video_course_more"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="@dimen/dp_20"
|
|
|
+ android:background="@drawable/shape_f2f2f2_9dp"
|
|
|
+ android:drawableEnd="@drawable/icon_next_right"
|
|
|
+ android:drawablePadding="1dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingStart="7dp"
|
|
|
+ android:paddingTop="2dp"
|
|
|
+ android:paddingEnd="3dp"
|
|
|
+ android:paddingBottom="2dp"
|
|
|
+ android:text="更多"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_video_course_title"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_video_course_title" />
|
|
|
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="30dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/cl_video_course">
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_video_course"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:paddingTop="@dimen/dp_7"
|
|
|
+ android:scrollbars="none"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_video_course_title" />
|
|
|
|
|
|
- <View
|
|
|
- android:id="@+id/view_talent_style_news"
|
|
|
- android:layout_width="63dp"
|
|
|
- android:layout_height="12dp"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:background="@drawable/shape_2dc7aa_6dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/tv_talent_style_title"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/tv_talent_style_title"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_talent_style_title" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_talent_style_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="24dp"
|
|
|
- android:includeFontPadding="false"
|
|
|
- android:text="达人风采"
|
|
|
- android:textColor="@color/color_333333"
|
|
|
- android:textSize="@dimen/sp_18"
|
|
|
- android:textStyle="bold"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/cl_video_course">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_talent_style_news"
|
|
|
+ android:layout_width="63dp"
|
|
|
+ android:layout_height="12dp"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:background="@drawable/shape_2dc7aa_6dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_talent_style_title"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/tv_talent_style_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_talent_style_title" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_talent_style_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="24dp"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:text="达人风采"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_18"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <View
|
|
|
- android:id="@+id/view_tab_hot_news"
|
|
|
- android:layout_width="63dp"
|
|
|
- android:layout_height="12dp"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:background="@drawable/shape_2dc7aa_6dp"
|
|
|
- android:visibility="gone"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/tv_hot_news_title"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/tv_hot_news_title"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_hot_news_title" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_hot_news_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="36dp"
|
|
|
- android:includeFontPadding="false"
|
|
|
- android:text="热门资讯"
|
|
|
- android:textColor="@color/color_999999"
|
|
|
- android:textSize="@dimen/sp_18"
|
|
|
- android:textStyle="bold"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_talent_style_title"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/tv_talent_style_title"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_talent_style_title" />
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_tab_hot_news"
|
|
|
+ android:layout_width="63dp"
|
|
|
+ android:layout_height="12dp"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:background="@drawable/shape_2dc7aa_6dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_hot_news_title"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/tv_hot_news_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_hot_news_title" />
|
|
|
|
|
|
- <androidx.viewpager2.widget.ViewPager2
|
|
|
- android:id="@+id/view_pager_bottom"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="18dp"
|
|
|
- android:overScrollMode="never"
|
|
|
- android:scrollbars="none"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_talent_style_title" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_hot_news_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="36dp"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:text="热门资讯"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_18"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_talent_style_title"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_talent_style_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_talent_style_title" />
|
|
|
+
|
|
|
+ <androidx.viewpager2.widget.ViewPager2
|
|
|
+ android:id="@+id/view_pager_bottom"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:scrollbars="none"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_talent_style_title" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
- </androidx.core.widget.NestedScrollView>
|
|
|
+ </androidx.core.widget.NestedScrollView>
|
|
|
+ </com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|