Commit 1f0c22ac4b1f76a87e58d801e970e55c013c3966
1 parent
d24a968bef
Exists in
master
ui调整
Showing
8 changed files
with
20 additions
and
5 deletions
Show diff stats
app/src/main/res/drawable/ic_topic_analyse.xml
| File was created | 1 | <?xml version="1.0" encoding="utf-8"?> | |
| 2 | <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| 3 | <item android:width="17dp" android:height="17dp" | ||
| 4 | android:drawable="@drawable/png_topic_analyse"/> | ||
| 5 | </layer-list> |
app/src/main/res/drawable/ic_topic_answer.xml
| File was created | 1 | <?xml version="1.0" encoding="utf-8"?> | |
| 2 | <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| 3 | <item android:width="17dp" android:height="17dp" | ||
| 4 | android:drawable="@drawable/png_topic_answer"/> | ||
| 5 | </layer-list> |
app/src/main/res/drawable/ic_topic_point.xml
| File was created | 1 | <?xml version="1.0" encoding="utf-8"?> | |
| 2 | <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| 3 | <item android:width="17dp" android:height="17dp" | ||
| 4 | android:drawable="@drawable/png_topic_point"/> | ||
| 5 | </layer-list> |
app/src/main/res/drawable/png_topic_analyse.png
2.85 KB
app/src/main/res/drawable/png_topic_answer.png
2.05 KB
app/src/main/res/drawable/png_topic_point.png
2.68 KB
app/src/main/res/layout/activity_student_homework.xml
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:app="http://schemas.android.com/apk/res-auto" | 3 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | xmlns:tools="http://schemas.android.com/tools" | 4 | xmlns:tools="http://schemas.android.com/tools" |
| 5 | android:orientation="vertical" | 5 | android:orientation="vertical" |
| 6 | android:layout_width="match_parent" | 6 | android:layout_width="match_parent" |
| 7 | android:layout_height="match_parent" | 7 | android:layout_height="match_parent" |
| 8 | tools:ignore="HardcodedText"> | 8 | tools:ignore="HardcodedText"> |
| 9 | 9 | ||
| 10 | <androidx.appcompat.widget.Toolbar | 10 | <androidx.appcompat.widget.Toolbar |
| 11 | android:id="@+id/toolbar" | 11 | android:id="@+id/toolbar" |
| 12 | app:navigationIcon="@drawable/svg_back" | 12 | app:navigationIcon="@drawable/svg_back" |
| 13 | android:paddingStart="-8dp" | 13 | android:paddingStart="-8dp" |
| 14 | android:paddingEnd="-8dp" | 14 | android:paddingEnd="-8dp" |
| 15 | android:background="@color/white" | 15 | android:background="@color/white" |
| 16 | android:layout_width="match_parent" | 16 | android:layout_width="match_parent" |
| 17 | android:layout_height="40dp"> | 17 | android:layout_height="40dp"> |
| 18 | <TextView | 18 | <TextView |
| 19 | android:id="@+id/tvTitle" | 19 | android:id="@+id/tvTitle" |
| 20 | tools:text="小明的全部作业" | 20 | tools:text="小明的全部作业" |
| 21 | android:textSize="18sp" | 21 | android:textSize="18sp" |
| 22 | android:textColor="#333" | 22 | android:textColor="#333" |
| 23 | android:textStyle="bold" | 23 | android:textStyle="bold" |
| 24 | android:layout_marginEnd="6dp" | ||
| 24 | android:layout_gravity="center" | 25 | android:layout_gravity="center" |
| 25 | android:layout_width="wrap_content" | 26 | android:layout_width="wrap_content" |
| 26 | android:layout_height="wrap_content"/> | 27 | android:layout_height="wrap_content"/> |
| 27 | <ImageView | 28 | <ImageView |
| 28 | android:id="@+id/btnChangeStudent" | 29 | android:id="@+id/btnChangeStudent" |
| 29 | android:src="@drawable/png_ic_change_student" | 30 | android:src="@drawable/png_ic_change_student" |
| 30 | android:layout_gravity="end" | 31 | android:layout_gravity="center" |
| 31 | android:layout_marginEnd="24dp" | ||
| 32 | android:layout_width="20dp" | 32 | android:layout_width="20dp" |
| 33 | android:layout_height="20dp"/> | 33 | android:layout_height="20dp"/> |
| 34 | </androidx.appcompat.widget.Toolbar> | 34 | </androidx.appcompat.widget.Toolbar> |
| 35 | <com.google.android.material.tabs.TabLayout | 35 | <com.google.android.material.tabs.TabLayout |
| 36 | android:id="@+id/tabLayout" | 36 | android:id="@+id/tabLayout" |
| 37 | app:tabMode="fixed" | 37 | app:tabMode="fixed" |
| 38 | app:tabGravity="fill" | 38 | app:tabGravity="fill" |
| 39 | app:tabTextColor="#333333" | 39 | app:tabTextColor="#333333" |
| 40 | app:tabSelectedTextColor="#1C90F3" | 40 | app:tabSelectedTextColor="#1C90F3" |
| 41 | app:tabIndicatorColor="#1C90F3" | 41 | app:tabIndicatorColor="#1C90F3" |
| 42 | app:tabIndicatorHeight="2dp" | 42 | app:tabIndicatorHeight="2dp" |
| 43 | app:tabIndicatorFullWidth="false" | 43 | app:tabIndicatorFullWidth="false" |
| 44 | app:tabTextAppearance="@style/tab_homework" | 44 | app:tabTextAppearance="@style/tab_homework" |
| 45 | app:tabRippleColor="@color/transparent" | 45 | app:tabRippleColor="@color/transparent" |
| 46 | android:background="@color/white" | 46 | android:background="@color/white" |
| 47 | android:layout_width="match_parent" | 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="45dp"/> | 48 | android:layout_height="45dp"/> |
| 49 | <LinearLayout | 49 | <LinearLayout |
| 50 | android:id="@+id/filterBar" | 50 | android:id="@+id/filterBar" |
| 51 | android:orientation="horizontal" | 51 | android:orientation="horizontal" |
| 52 | android:background="@color/white" | 52 | android:background="@color/white" |
| 53 | android:paddingHorizontal="15dp" | 53 | android:paddingHorizontal="15dp" |
| 54 | android:paddingVertical="11dp" | 54 | android:paddingVertical="11dp" |
| 55 | android:layout_width="match_parent" | 55 | android:layout_width="match_parent" |
| 56 | android:layout_height="wrap_content"> | 56 | android:layout_height="wrap_content"> |
| 57 | <androidx.appcompat.widget.AppCompatTextView | 57 | <androidx.appcompat.widget.AppCompatTextView |
| 58 | android:id="@+id/ftSubject" | 58 | android:id="@+id/ftSubject" |
| 59 | android:text="学科" | 59 | android:text="学科" |
| 60 | style="@style/tv_StudentHomeworkFilter"/> | 60 | style="@style/tv_StudentHomeworkFilter"/> |
| 61 | <Space style="@style/empty_space"/> | 61 | <Space style="@style/empty_space"/> |
| 62 | <androidx.appcompat.widget.AppCompatTextView | 62 | <androidx.appcompat.widget.AppCompatTextView |
| 63 | android:id="@+id/ftGrade" | 63 | android:id="@+id/ftGrade" |
| 64 | android:text="年级" | 64 | android:text="年级" |
| 65 | style="@style/tv_StudentHomeworkFilter"/> | 65 | style="@style/tv_StudentHomeworkFilter"/> |
| 66 | <Space style="@style/empty_space"/> | 66 | <Space style="@style/empty_space"/> |
| 67 | <androidx.appcompat.widget.AppCompatTextView | 67 | <androidx.appcompat.widget.AppCompatTextView |
| 68 | android:id="@+id/ftTerm" | 68 | android:id="@+id/ftTerm" |
| 69 | android:text="学期" | 69 | android:text="学期" |
| 70 | style="@style/tv_StudentHomeworkFilter"/> | 70 | style="@style/tv_StudentHomeworkFilter"/> |
| 71 | <Space style="@style/empty_space"/> | 71 | <Space style="@style/empty_space"/> |
| 72 | <androidx.appcompat.widget.AppCompatTextView | 72 | <androidx.appcompat.widget.AppCompatTextView |
| 73 | android:id="@+id/ftFeedback" | 73 | android:id="@+id/ftFeedback" |
| 74 | android:text="反馈状态" | 74 | android:text="反馈状态" |
| 75 | style="@style/tv_StudentHomeworkFilter"/> | 75 | style="@style/tv_StudentHomeworkFilter"/> |
| 76 | </LinearLayout> | 76 | </LinearLayout> |
| 77 | <androidx.legacy.widget.Space | 77 | <androidx.legacy.widget.Space |
| 78 | android:id="@+id/anchorView" | 78 | android:id="@+id/anchorView" |
| 79 | android:layout_width="0dp" | 79 | android:layout_width="0dp" |
| 80 | android:layout_height="0dp"/> | 80 | android:layout_height="0dp"/> |
| 81 | 81 | ||
| 82 | <FrameLayout | 82 | <FrameLayout |
| 83 | android:id="@+id/weekBar" | 83 | android:id="@+id/weekBar" |
| 84 | android:visibility="gone" | 84 | android:visibility="gone" |
| 85 | android:layout_width="match_parent" | 85 | android:layout_width="match_parent" |
| 86 | android:layout_height="wrap_content"> | 86 | android:layout_height="wrap_content"> |
| 87 | <TextView | 87 | <TextView |
| 88 | android:id="@+id/btnGeneralHuyou" | 88 | android:id="@+id/btnGeneralHuyou" |
| 89 | android:visibility="gone" | 89 | android:visibility="gone" |
| 90 | tools:visibility="visible" | 90 | tools:visibility="visible" |
| 91 | android:text="生成本周作业总结" | 91 | android:text="生成本周作业总结" |
| 92 | android:textSize="13sp" | 92 | android:textSize="13sp" |
| 93 | android:textColor="#1C90F3" | 93 | android:textColor="#1C90F3" |
| 94 | android:gravity="center" | 94 | android:gravity="center" |
| 95 | android:textStyle="bold" | 95 | android:textStyle="bold" |
| 96 | android:background="@drawable/btn_general_huyou" | 96 | android:background="@drawable/btn_general_huyou" |
| 97 | android:layout_marginTop="16dp" | 97 | android:layout_marginTop="16dp" |
| 98 | android:layout_marginHorizontal="30dp" | 98 | android:layout_marginHorizontal="30dp" |
| 99 | android:layout_width="match_parent" | 99 | android:layout_width="match_parent" |
| 100 | android:layout_height="35dp" | 100 | android:layout_height="35dp" |
| 101 | tools:ignore="HardcodedText" /> | 101 | tools:ignore="HardcodedText" /> |
| 102 | </FrameLayout> | 102 | </FrameLayout> |
| 103 | 103 | ||
| 104 | <FrameLayout | 104 | <FrameLayout |
| 105 | android:id="@+id/stageBar" | 105 | android:id="@+id/stageBar" |
| 106 | android:visibility="gone" | 106 | android:visibility="gone" |
| 107 | android:layout_width="match_parent" | 107 | android:layout_width="match_parent" |
| 108 | android:layout_height="wrap_content"> | 108 | android:layout_height="wrap_content"> |
| 109 | <TextView | 109 | <TextView |
| 110 | android:id="@+id/btnStageHuyou" | 110 | android:id="@+id/btnStageHuyou" |
| 111 | android:text="生成阶段性作业总结" | 111 | android:text="生成阶段性作业总结" |
| 112 | android:textSize="13sp" | 112 | android:textSize="13sp" |
| 113 | android:textColor="#1C90F3" | 113 | android:textColor="#1C90F3" |
| 114 | android:gravity="center" | 114 | android:gravity="center" |
| 115 | android:textStyle="bold" | 115 | android:textStyle="bold" |
| 116 | android:background="@drawable/btn_general_huyou" | 116 | android:background="@drawable/btn_general_huyou" |
| 117 | android:layout_marginTop="16dp" | 117 | android:layout_marginTop="16dp" |
| 118 | android:layout_marginHorizontal="30dp" | 118 | android:layout_marginHorizontal="30dp" |
| 119 | android:layout_width="match_parent" | 119 | android:layout_width="match_parent" |
| 120 | android:layout_height="35dp" | 120 | android:layout_height="35dp" |
| 121 | tools:ignore="HardcodedText" /> | 121 | tools:ignore="HardcodedText" /> |
| 122 | </FrameLayout> | 122 | </FrameLayout> |
| 123 | 123 | ||
| 124 | <androidx.recyclerview.widget.RecyclerView | 124 | <androidx.recyclerview.widget.RecyclerView |
| 125 | android:id="@+id/recyclerView" | 125 | android:id="@+id/recyclerView" |
| 126 | android:background="#F8F8F8" | 126 | android:background="#F8F8F8" |
| 127 | android:orientation="vertical" | 127 | android:orientation="vertical" |
| 128 | app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" | 128 | app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" |
| 129 | android:layout_width="match_parent" | 129 | android:layout_width="match_parent" |
| 130 | android:layout_height="match_parent"/> | 130 | android:layout_height="match_parent"/> |
app/src/main/res/layout/activity_topic_detail.xml
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:app="http://schemas.android.com/apk/res-auto" | 3 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | xmlns:tools="http://schemas.android.com/tools" | 4 | xmlns:tools="http://schemas.android.com/tools" |
| 5 | android:orientation="vertical" | 5 | android:orientation="vertical" |
| 6 | android:layout_width="match_parent" | 6 | android:layout_width="match_parent" |
| 7 | android:layout_height="match_parent" | 7 | android:layout_height="match_parent" |
| 8 | tools:ignore="UseCompoundDrawables,HardcodedText,SmallSp,ContentDescription"> | 8 | tools:ignore="UseCompoundDrawables,HardcodedText,SmallSp,ContentDescription"> |
| 9 | 9 | ||
| 10 | <androidx.appcompat.widget.Toolbar | 10 | <androidx.appcompat.widget.Toolbar |
| 11 | android:id="@+id/toolbar" | 11 | android:id="@+id/toolbar" |
| 12 | app:navigationIcon="@drawable/svg_back" | 12 | app:navigationIcon="@drawable/svg_back" |
| 13 | app:contentInsetStartWithNavigation="14dp" | 13 | app:contentInsetStartWithNavigation="14dp" |
| 14 | android:paddingStart="-8dp" | 14 | android:paddingStart="-8dp" |
| 15 | android:paddingEnd="-8dp" | 15 | android:paddingEnd="-8dp" |
| 16 | android:background="@color/white" | 16 | android:background="@color/white" |
| 17 | android:layout_width="match_parent" | 17 | android:layout_width="match_parent" |
| 18 | android:layout_height="40dp"> | 18 | android:layout_height="40dp"> |
| 19 | <TextView | 19 | <TextView |
| 20 | android:id="@+id/tvTitle" | 20 | android:id="@+id/tvTitle" |
| 21 | tools:text="1/6" | 21 | tools:text="1/6" |
| 22 | android:textSize="18sp" | 22 | android:textSize="18sp" |
| 23 | android:textColor="#333" | 23 | android:textColor="#333" |
| 24 | android:textStyle="bold" | 24 | android:textStyle="bold" |
| 25 | android:layout_gravity="center" | 25 | android:layout_gravity="center" |
| 26 | android:layout_width="wrap_content" | 26 | android:layout_width="wrap_content" |
| 27 | android:layout_height="wrap_content"/> | 27 | android:layout_height="wrap_content"/> |
| 28 | </androidx.appcompat.widget.Toolbar> | 28 | </androidx.appcompat.widget.Toolbar> |
| 29 | 29 | ||
| 30 | <androidx.core.widget.NestedScrollView | 30 | <androidx.core.widget.NestedScrollView |
| 31 | android:layout_width="match_parent" | 31 | android:layout_width="match_parent" |
| 32 | android:layout_height="0dp" | 32 | android:layout_height="0dp" |
| 33 | android:layout_weight="1"> | 33 | android:layout_weight="1"> |
| 34 | <LinearLayout | 34 | <LinearLayout |
| 35 | android:orientation="vertical" | 35 | android:orientation="vertical" |
| 36 | android:paddingHorizontal="15dp" | 36 | android:paddingHorizontal="15dp" |
| 37 | android:layout_width="match_parent" | 37 | android:layout_width="match_parent" |
| 38 | android:layout_height="wrap_content"> | 38 | android:layout_height="wrap_content"> |
| 39 | 39 | ||
| 40 | <androidx.recyclerview.widget.RecyclerView | 40 | <androidx.recyclerview.widget.RecyclerView |
| 41 | android:id="@+id/rvNumber" | 41 | android:id="@+id/rvNumber" |
| 42 | android:orientation="horizontal" | 42 | android:orientation="horizontal" |
| 43 | app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" | 43 | app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" |
| 44 | android:layout_marginTop="15dp" | 44 | android:layout_marginTop="15dp" |
| 45 | android:layout_width="match_parent" | 45 | android:layout_width="match_parent" |
| 46 | android:layout_height="wrap_content"/> | 46 | android:layout_height="wrap_content"/> |
| 47 | 47 | ||
| 48 | <LinearLayout | 48 | <LinearLayout |
| 49 | android:orientation="vertical" | 49 | android:orientation="vertical" |
| 50 | android:layout_marginTop="15dp" | 50 | android:layout_marginTop="15dp" |
| 51 | android:background="@drawable/shape_radius_5" | 51 | android:background="@drawable/shape_radius_5" |
| 52 | android:backgroundTint="@color/white" | 52 | android:backgroundTint="@color/white" |
| 53 | android:layout_width="match_parent" | 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="wrap_content"> | 54 | android:layout_height="wrap_content"> |
| 55 | <TextView | 55 | <TextView |
| 56 | android:id="@+id/tvNo" | 56 | android:id="@+id/tvNo" |
| 57 | tools:text="题目8" | 57 | tools:text="题目8" |
| 58 | android:layout_width="40dp" | 58 | android:layout_width="40dp" |
| 59 | android:layout_height="16dp" | 59 | android:layout_height="16dp" |
| 60 | android:layout_gravity="start" | 60 | android:layout_gravity="start" |
| 61 | android:background="@drawable/bg_homework_num_left" | 61 | android:background="@drawable/bg_homework_num_left" |
| 62 | android:gravity="center" | 62 | android:gravity="center" |
| 63 | android:textColor="@color/white" | 63 | android:textColor="@color/white" |
| 64 | android:textSize="9sp" /> | 64 | android:textSize="9sp" /> |
| 65 | <ImageView | 65 | <ImageView |
| 66 | android:id="@+id/ivTopic" | 66 | android:id="@+id/ivTopic" |
| 67 | android:adjustViewBounds="true" | 67 | android:adjustViewBounds="true" |
| 68 | android:layout_marginHorizontal="20dp" | 68 | android:layout_marginHorizontal="20dp" |
| 69 | android:layout_marginVertical="16dp" | 69 | android:layout_marginVertical="16dp" |
| 70 | android:layout_width="match_parent" | 70 | android:layout_width="match_parent" |
| 71 | android:layout_height="wrap_content"/> | 71 | android:layout_height="wrap_content"/> |
| 72 | </LinearLayout> | 72 | </LinearLayout> |
| 73 | 73 | ||
| 74 | <LinearLayout | 74 | <LinearLayout |
| 75 | android:orientation="vertical" | 75 | android:orientation="vertical" |
| 76 | android:layout_marginTop="15dp" | 76 | android:layout_marginTop="15dp" |
| 77 | android:background="@drawable/shape_radius_5" | 77 | android:background="@drawable/shape_radius_5" |
| 78 | android:backgroundTint="@color/white" | 78 | android:backgroundTint="@color/white" |
| 79 | android:layout_width="match_parent" | 79 | android:layout_width="match_parent" |
| 80 | android:layout_height="wrap_content"> | 80 | android:layout_height="wrap_content"> |
| 81 | <androidx.appcompat.widget.AppCompatTextView | 81 | <androidx.appcompat.widget.AppCompatTextView |
| 82 | android:text="解析" | 82 | android:text="解析" |
| 83 | android:layout_width="wrap_content" | 83 | android:layout_width="wrap_content" |
| 84 | android:layout_height="wrap_content" | 84 | android:layout_height="wrap_content" |
| 85 | android:layout_marginTop="15dp" | 85 | android:layout_marginTop="15dp" |
| 86 | android:layout_marginHorizontal="15dp" | 86 | android:layout_marginHorizontal="15dp" |
| 87 | android:drawableStart="@drawable/ic_analyse" | 87 | android:drawableStart="@drawable/ic_topic_analyse" |
| 88 | android:drawablePadding="5dp" | 88 | android:drawablePadding="5dp" |
| 89 | android:gravity="center|center_vertical" | 89 | android:gravity="center|center_vertical" |
| 90 | android:textStyle="bold" | 90 | android:textStyle="bold" |
| 91 | android:textColor="#333" | 91 | android:textColor="#333" |
| 92 | android:textSize="16sp" /> | 92 | android:textSize="16sp" /> |
| 93 | <ImageView | 93 | <ImageView |
| 94 | android:id="@+id/ivAnalyse" | 94 | android:id="@+id/ivAnalyse" |
| 95 | android:adjustViewBounds="true" | 95 | android:adjustViewBounds="true" |
| 96 | android:layout_marginHorizontal="15dp" | 96 | android:layout_marginHorizontal="15dp" |
| 97 | android:layout_marginVertical="15dp" | 97 | android:layout_marginVertical="15dp" |
| 98 | android:layout_width="match_parent" | 98 | android:layout_width="match_parent" |
| 99 | android:layout_height="wrap_content"/> | 99 | android:layout_height="wrap_content"/> |
| 100 | </LinearLayout> | 100 | </LinearLayout> |
| 101 | 101 | ||
| 102 | <LinearLayout | 102 | <LinearLayout |
| 103 | android:orientation="vertical" | 103 | android:orientation="vertical" |
| 104 | android:layout_marginTop="15dp" | 104 | android:layout_marginTop="15dp" |
| 105 | android:background="@drawable/shape_radius_5" | 105 | android:background="@drawable/shape_radius_5" |
| 106 | android:backgroundTint="@color/white" | 106 | android:backgroundTint="@color/white" |
| 107 | android:layout_width="match_parent" | 107 | android:layout_width="match_parent" |
| 108 | android:layout_height="wrap_content"> | 108 | android:layout_height="wrap_content"> |
| 109 | <androidx.appcompat.widget.AppCompatTextView | 109 | <androidx.appcompat.widget.AppCompatTextView |
| 110 | android:text="答案" | 110 | android:text="答案" |
| 111 | android:layout_width="wrap_content" | 111 | android:layout_width="wrap_content" |
| 112 | android:layout_height="wrap_content" | 112 | android:layout_height="wrap_content" |
| 113 | android:layout_marginTop="15dp" | 113 | android:layout_marginTop="15dp" |
| 114 | android:layout_marginHorizontal="15dp" | 114 | android:layout_marginHorizontal="15dp" |
| 115 | android:drawableStart="@drawable/ic_analyse" | 115 | android:drawableStart="@drawable/ic_topic_answer" |
| 116 | android:drawablePadding="5dp" | 116 | android:drawablePadding="5dp" |
| 117 | android:gravity="center|center_vertical" | 117 | android:gravity="center|center_vertical" |
| 118 | android:textStyle="bold" | 118 | android:textStyle="bold" |
| 119 | android:textColor="#333" | 119 | android:textColor="#333" |
| 120 | android:textSize="16sp" /> | 120 | android:textSize="16sp" /> |
| 121 | <TextView | 121 | <TextView |
| 122 | android:id="@+id/tvAnswer" | 122 | android:id="@+id/tvAnswer" |
| 123 | android:textSize="12sp" | 123 | android:textSize="12sp" |
| 124 | android:textColor="#333" | 124 | android:textColor="#333" |
| 125 | android:layout_margin="15dp" | 125 | android:layout_margin="15dp" |
| 126 | android:layout_width="match_parent" | 126 | android:layout_width="match_parent" |
| 127 | android:layout_height="wrap_content"/> | 127 | android:layout_height="wrap_content"/> |
| 128 | </LinearLayout> | 128 | </LinearLayout> |
| 129 | 129 | ||
| 130 | <LinearLayout | 130 | <LinearLayout |
| 131 | android:orientation="vertical" | 131 | android:orientation="vertical" |
| 132 | android:layout_marginTop="15dp" | 132 | android:layout_marginTop="15dp" |
| 133 | android:background="@drawable/shape_radius_5" | 133 | android:background="@drawable/shape_radius_5" |
| 134 | android:backgroundTint="@color/white" | 134 | android:backgroundTint="@color/white" |
| 135 | android:layout_width="match_parent" | 135 | android:layout_width="match_parent" |
| 136 | android:layout_height="wrap_content"> | 136 | android:layout_height="wrap_content"> |
| 137 | <androidx.appcompat.widget.AppCompatTextView | 137 | <androidx.appcompat.widget.AppCompatTextView |
| 138 | android:text="知识点" | 138 | android:text="知识点" |
| 139 | android:layout_width="wrap_content" | 139 | android:layout_width="wrap_content" |
| 140 | android:layout_height="wrap_content" | 140 | android:layout_height="wrap_content" |
| 141 | android:layout_marginTop="15dp" | 141 | android:layout_marginTop="15dp" |
| 142 | android:layout_marginHorizontal="15dp" | 142 | android:layout_marginHorizontal="15dp" |
| 143 | android:drawableStart="@drawable/ic_analyse" | 143 | android:drawableStart="@drawable/ic_topic_point" |
| 144 | android:drawablePadding="5dp" | 144 | android:drawablePadding="5dp" |
| 145 | android:gravity="center|center_vertical" | 145 | android:gravity="center|center_vertical" |
| 146 | android:textStyle="bold" | 146 | android:textStyle="bold" |
| 147 | android:textColor="#333" | 147 | android:textColor="#333" |
| 148 | android:textSize="16sp" /> | 148 | android:textSize="16sp" /> |
| 149 | <TextView | 149 | <TextView |
| 150 | android:id="@+id/tvPoint" | 150 | android:id="@+id/tvPoint" |
| 151 | android:textSize="12sp" | 151 | android:textSize="12sp" |
| 152 | android:textColor="#333" | 152 | android:textColor="#333" |
| 153 | android:layout_margin="15dp" | 153 | android:layout_margin="15dp" |
| 154 | android:layout_width="match_parent" | 154 | android:layout_width="match_parent" |
| 155 | android:layout_height="wrap_content"/> | 155 | android:layout_height="wrap_content"/> |
| 156 | </LinearLayout> | 156 | </LinearLayout> |
| 157 | 157 | ||
| 158 | </LinearLayout> | 158 | </LinearLayout> |
| 159 | </androidx.core.widget.NestedScrollView> | 159 | </androidx.core.widget.NestedScrollView> |
| 160 | 160 | ||
| 161 | <LinearLayout | 161 | <LinearLayout |
| 162 | android:orientation="horizontal" | 162 | android:orientation="horizontal" |
| 163 | android:gravity="center_vertical" | 163 | android:gravity="center_vertical" |
| 164 | android:paddingHorizontal="15dp" | 164 | android:paddingHorizontal="15dp" |
| 165 | android:layout_marginVertical="15dp" | 165 | android:layout_marginVertical="15dp" |
| 166 | android:layout_width="match_parent" | 166 | android:layout_width="match_parent" |
| 167 | android:layout_height="wrap_content"> | 167 | android:layout_height="wrap_content"> |
| 168 | <androidx.constraintlayout.utils.widget.ImageFilterView | 168 | <androidx.constraintlayout.utils.widget.ImageFilterView |
| 169 | android:id="@+id/btnPre" | 169 | android:id="@+id/btnPre" |
| 170 | app:round="10dp" | 170 | app:round="10dp" |
| 171 | android:src="@drawable/svg_pre" | 171 | android:src="@drawable/svg_pre" |
| 172 | android:tint="@color/color_btn_pre_state" | 172 | android:tint="@color/color_btn_pre_state" |
| 173 | android:background="@color/white" | 173 | android:background="@color/white" |
| 174 | android:paddingHorizontal="6dp" | 174 | android:paddingHorizontal="6dp" |
| 175 | android:layout_width="20dp" | 175 | android:layout_width="20dp" |
| 176 | android:layout_height="20dp"/> | 176 | android:layout_height="20dp"/> |
| 177 | <Space style="@style/empty_space"/> | 177 | <Space style="@style/empty_space"/> |
| 178 | <androidx.constraintlayout.utils.widget.ImageFilterView | 178 | <androidx.constraintlayout.utils.widget.ImageFilterView |
| 179 | android:id="@+id/btnNext" | 179 | android:id="@+id/btnNext" |
| 180 | android:rotation="180" | 180 | android:rotation="180" |
| 181 | app:round="10dp" | 181 | app:round="10dp" |
| 182 | android:src="@drawable/svg_pre" | 182 | android:src="@drawable/svg_pre" |
| 183 | android:tint="@color/color_btn_pre_state" | 183 | android:tint="@color/color_btn_pre_state" |
| 184 | android:background="@color/white" | 184 | android:background="@color/white" |
| 185 | android:paddingHorizontal="6dp" | 185 | android:paddingHorizontal="6dp" |
| 186 | android:layout_width="20dp" | 186 | android:layout_width="20dp" |
| 187 | android:layout_height="20dp"/> | 187 | android:layout_height="20dp"/> |
| 188 | </LinearLayout> | 188 | </LinearLayout> |
| 189 | </LinearLayout> | 189 | </LinearLayout> |