|
@@ -0,0 +1,53 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:paddingStart="25dp">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_status_bar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_teacher_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_22"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_status_bar"
|
|
|
+ tools:text="您好,李老师" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_vip"
|
|
|
+ android:layout_marginStart="6dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/icon_vip_enable"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_teacher_name"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_teacher_name" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/iv_scan"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="5dp"
|
|
|
+ android:paddingStart="12dp"
|
|
|
+ android:paddingTop="12dp"
|
|
|
+ android:paddingEnd="12dp"
|
|
|
+ android:paddingBottom="12dp"
|
|
|
+ android:src="@drawable/icon_scan_for_teacher" />
|
|
|
+
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+</androidx.core.widget.NestedScrollView>
|