pdlivexp/common/src/main/res/layout/view_instructor_operation.xml

136 lines
4.9 KiB
XML
Raw Normal View History

2022-07-27 09:29:23 +08:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/transparent"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
2022-08-08 10:37:23 +08:00
android:layout_height="320dp"
2022-07-27 09:29:23 +08:00
android:layout_centerHorizontal="true"
2022-08-08 10:37:23 +08:00
android:layout_marginTop="86dp"
2022-07-27 09:29:23 +08:00
android:background="@mipmap/tip_box"
android:gravity="center_horizontal"
2022-08-08 10:37:23 +08:00
android:visibility="gone"
2022-07-27 09:29:23 +08:00
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-07-27 10:52:14 +08:00
android:layout_marginTop="85dp"
2022-07-27 09:29:23 +08:00
android:text="@string/welcome_pd"
2022-08-08 10:37:23 +08:00
android:gravity="center"
android:layout_gravity="center"
2022-07-27 09:29:23 +08:00
android:textColor="#FF1A1A1A"
android:textSize="21sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="14dp"
android:text="@string/welcome_pd_tip"
android:textColor="#FFF19DA0"
2022-08-08 10:37:23 +08:00
android:visibility="gone"
2022-07-27 09:29:23 +08:00
android:textSize="12sp" />
2022-07-27 10:52:14 +08:00
<LinearLayout
2022-07-27 09:29:23 +08:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="14dp"
2022-07-27 10:52:14 +08:00
android:background="@drawable/instructor_operation_bg"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingStart="5dp"
android:paddingTop="9dp"
android:paddingEnd="5dp"
android:paddingBottom="9dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawablePadding="3dp"
2022-08-08 10:37:23 +08:00
android:text="@string/welcome_pd_tip"
android:layout_marginRight="25dp"
android:layout_marginLeft="25dp"
android:gravity="center"
android:textColor="#FF4659"
android:textSize="12sp"
android:layout_marginTop="5dp"
2022-07-27 10:52:14 +08:00
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-08-08 10:37:23 +08:00
android:layout_marginTop="15dp"
2022-07-27 10:52:14 +08:00
android:gravity="center"
2022-07-27 10:56:11 +08:00
android:text="@string/exclusive_instructor1"
android:textColor="#FF737373"
android:textSize="10sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
2022-08-08 10:37:23 +08:00
android:layout_marginBottom="5dp"
2022-07-27 10:56:11 +08:00
android:text="@string/exclusive_instructor2"
2022-07-27 10:52:14 +08:00
android:textColor="#FF737373"
android:textSize="10sp" />
</LinearLayout>
2022-07-27 09:29:23 +08:00
<View
android:layout_width="1dp"
android:layout_height="0dp"
android:layout_weight="1" />
<androidx.cardview.widget.CardView
2022-07-27 10:52:14 +08:00
android:id="@+id/hurry_contact"
2022-07-27 09:29:23 +08:00
android:layout_width="match_parent"
android:layout_height="35dp"
2022-07-27 10:52:14 +08:00
android:layout_marginStart="30dp"
2022-07-27 10:56:11 +08:00
android:layout_marginEnd="30dp"
2022-08-08 10:37:23 +08:00
android:layout_marginBottom="20dp"
2022-07-27 09:29:23 +08:00
android:orientation="vertical"
app:cardBackgroundColor="#FFFFBE41"
app:cardCornerRadius="20dp"
2022-07-27 10:52:14 +08:00
app:cardElevation="0dp">
2022-07-27 09:29:23 +08:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
<TextView
android:layout_width="match_parent"
android:layout_height="21dp"
android:gravity="center"
android:text="@string/hurry_contact"
android:textColor="@color/white"
android:textSize="14sp" />
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-08-08 10:37:23 +08:00
android:layout_centerHorizontal="true"/>
<ImageView android:id="@+id/to_msg"
android:layout_width="500dp"
android:layout_height="500dp"
2022-07-27 09:29:23 +08:00
android:layout_centerHorizontal="true"
2022-08-08 10:37:23 +08:00
android:layout_centerVertical="true"
android:layout_marginRight="30dp"
android:layout_marginLeft="30dp"
android:layout_marginTop="86dp"
android:gravity="center_horizontal"/>
2022-07-27 09:29:23 +08:00
</RelativeLayout>