瀏覽代碼

优化老师端布置作业和琴房课课程详情样式

Pq 7 月之前
父節點
當前提交
4ad8326038

+ 1 - 1
teacher/src/main/java/com/cooleshow/teacher/ui/course/PianoRoomCourseDetailActivity.java

@@ -75,7 +75,7 @@ public class PianoRoomCourseDetailActivity extends BaseMVPActivity<ActivityPiano
     public void initData() {
         super.initData();
         initMidTitleToolBar(viewBinding.toolbarInclude.toolbar, "课程详情");
-        viewBinding.toolbarInclude.toolbar.setBackgroundColor(Color.WHITE);
+        viewBinding.toolbarInclude.toolbar.setBackgroundColor(Color.TRANSPARENT);
         EmptyViewLayout emptyViewLayout = new EmptyViewLayout(this);
         emptyViewLayout.setContent(com.cooleshow.base.R.drawable.icon_empty_course, "暂无学员");
         mAdapter = new PianoRoomCourseStudentListAdapter(R.layout.item_piano_room_student_layout);

+ 8 - 0
teacher/src/main/res/layout/activity_piano_room_detail_layout.xml

@@ -5,6 +5,14 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent">
 
+    <ImageView
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:adjustViewBounds="true"
+        android:src="@drawable/bg_appointment_top"
+        app:layout_constraintLeft_toLeftOf="parent"
+        app:layout_constraintTop_toTopOf="parent" />
+
     <include
         android:id="@+id/toolbar_include"
         layout="@layout/common_toolbar_layout" />