|
@@ -112,13 +112,60 @@
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/bg_announcement"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:background="@drawable/bg_white_10dp"
|
|
|
+ android:elevation="2dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_bell"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ 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="match_parent"
|
|
|
+ android:layout_marginStart="2dp"
|
|
|
+ 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_calendar_next_month"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/cl_live"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/dp_60"
|
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
|
- android:layout_marginTop="@dimen/dp_17"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
|
android:background="@drawable/bg_white_30dp"
|
|
|
android:visibility="gone">
|
|
@@ -194,57 +241,6 @@
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
-
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
- android:visibility="gone"
|
|
|
- android:id="@+id/bg_announcement"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="44dp"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginEnd="14dp"
|
|
|
- android:background="@drawable/bg_white_10dp"
|
|
|
- android:elevation="2dp"
|
|
|
- android:orientation="horizontal"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/cl_live">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_bell"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- 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="match_parent"
|
|
|
- android:layout_marginStart="2dp"
|
|
|
- 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_calendar_next_month"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="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"
|