Bläddra i källkod

增加课程组想去课程规划滚动条显示

Pq 7 månader sedan
förälder
incheckning
a514a85531

+ 5 - 0
BaseLibrary/src/main/res/drawable/shape_e2e2e2_2dp.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+    <solid android:color="@color/color_e2e2e2"/>
+    <corners android:radius="2dp"/>
+</shape>

+ 3 - 1
student/src/main/res/layout/ac_piano_course_group_detail_layout.xml

@@ -235,7 +235,9 @@
                             app:layout_constraintTop_toBottomOf="@+id/tv_plan_title"
                             app:layout_constraintHeight_max="88dp"
                             android:scrollbars="vertical"
-                            android:scrollbarStyle="insideOverlay"
+                            android:fadeScrollbars="false"
+                            android:scrollbarThumbVertical="@drawable/shape_e2e2e2_2dp"
+                            android:scrollbarStyle="outsideInset"
                             android:layout_width="match_parent"
                             android:layout_height="wrap_content">
                             <TextView

+ 5 - 2
student/src/main/res/layout/ac_vip_or_interest_course_group_detail_layout.xml

@@ -204,6 +204,7 @@
 
                     <androidx.constraintlayout.widget.ConstraintLayout
                         android:visibility="gone"
+                        tools:visibility="visible"
                         android:layout_width="match_parent"
                         android:id="@+id/cs_course_plan"
                         android:layout_height="wrap_content"
@@ -235,7 +236,9 @@
                             app:layout_constraintTop_toBottomOf="@+id/tv_plan_title"
                             app:layout_constraintHeight_max="88dp"
                             android:scrollbars="vertical"
-                            android:scrollbarStyle="insideOverlay"
+                            android:fadeScrollbars="false"
+                            android:scrollbarThumbVertical="@drawable/shape_e2e2e2_2dp"
+                            android:scrollbarStyle="outsideInset"
                             android:layout_width="match_parent"
                             android:layout_height="wrap_content">
                             <TextView
@@ -248,7 +251,7 @@
                                 app:layout_constraintLeft_toLeftOf="parent"
                                 app:layout_constraintRight_toRightOf="parent"
                                 app:layout_constraintTop_toBottomOf="@+id/tv_plan_title"
-                                tools:text="中国院长笛四级考级曲目教学中国院长笛四级考级曲目" />
+                                tools:text="中国院长笛四级考级曲目中国院长笛四级考级曲目教学中国院长笛四级考级曲目中国院长笛四级考级曲目教学中国院长笛四级考级曲目中国院长笛四级考级曲目教学中国院长笛四级考级曲目中国院长笛四级考级曲目教学中国院长笛四级考级曲目" />
                         </androidx.core.widget.NestedScrollView>
 
                     </androidx.constraintlayout.widget.ConstraintLayout>

+ 3 - 1
teacher/src/main/res/layout/ac_piano_course_group_detail_layout.xml

@@ -277,7 +277,9 @@
                             android:layout_marginTop="12dp"
                             android:id="@+id/sc_course_plan"
                             android:scrollbars="vertical"
-                            android:isScrollContainer="true"
+                            android:fadeScrollbars="false"
+                            android:scrollbarThumbVertical="@drawable/shape_e2e2e2_2dp"
+                            android:scrollbarStyle="outsideInset"
                             app:layout_constraintLeft_toLeftOf="parent"
                             app:layout_constraintRight_toRightOf="parent"
                             app:layout_constraintTop_toBottomOf="@+id/tv_plan_title"

+ 3 - 1
teacher/src/main/res/layout/ac_vip_or_interest_course_group_detail_layout.xml

@@ -281,7 +281,9 @@
                             app:layout_constraintTop_toBottomOf="@+id/tv_plan_title"
                             app:layout_constraintHeight_max="88dp"
                             android:scrollbars="vertical"
-                            android:scrollbarStyle="insideOverlay"
+                            android:fadeScrollbars="false"
+                            android:scrollbarThumbVertical="@drawable/shape_e2e2e2_2dp"
+                            android:scrollbarStyle="outsideInset"
                             android:layout_width="match_parent"
                             android:layout_height="wrap_content">
                             <TextView