pandorapan/live/src/main/res/layout/view_start_level.xml

166 lines
6.2 KiB
XML
Raw Normal View History

2022-10-10 17:22:04 +08:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2022-10-22 17:42:17 +08:00
android:layout_width="78dp"
android:layout_height="106dp">
2022-10-10 17:22:04 +08:00
<ImageView
android:id="@+id/banner_back"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:src="@mipmap/start_level" />
<FrameLayout
android:id="@+id/start_context"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="10dp">
<TextView
2022-10-12 10:05:30 +08:00
android:id="@+id/title"
2022-10-10 17:22:04 +08:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
2022-10-22 17:42:17 +08:00
android:layout_marginTop="23dp"
2022-10-10 17:22:04 +08:00
android:text="星级挑战"
2022-10-22 17:42:17 +08:00
android:textStyle="bold"
2022-10-10 17:22:04 +08:00
android:textColor="#C53F4E"
2022-10-12 10:05:30 +08:00
android:textSize="7sp" />
2022-10-10 17:22:04 +08:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
2022-10-22 17:42:17 +08:00
android:layout_marginTop="40dp"
2022-10-10 17:22:04 +08:00
android:layout_marginEnd="5.67dp"
android:gravity="center_vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="3.33dp"
android:orientation="vertical">
2022-10-22 17:42:17 +08:00
<LinearLayout
2022-10-10 17:22:04 +08:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-10-22 17:42:17 +08:00
android:gravity="bottom">
<ImageView
android:id="@+id/icon_start"
android:layout_width="12dp"
android:layout_height="12dp"
android:src="@mipmap/icon_start" />
<TextView
android:id="@+id/total_star_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/total_star_value"
android:textColor="#C53F4E"
android:textSize="7.97sp" />
</LinearLayout>
2022-10-10 17:22:04 +08:00
<com.yunbao.common.views.weight.ProgressView
android:id="@+id/total_star_progress"
android:layout_width="match_parent"
android:layout_height="4.33dp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="1.67dp">
<TextView
android:id="@+id/current_start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
android:textColor="#FE762A"
2022-10-12 10:05:30 +08:00
android:textSize="6.5dp" />
2022-10-10 17:22:04 +08:00
<TextView
android:id="@+id/target_start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="/100"
android:textColor="#7A0002"
2022-10-12 10:05:30 +08:00
android:textSize="6.5dp" />
2022-10-10 17:22:04 +08:00
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
2022-10-22 17:42:17 +08:00
android:layout_marginTop="70dp"
2022-10-10 17:22:04 +08:00
android:layout_marginEnd="5.67dp"
android:gravity="center_vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="3.33dp"
android:orientation="vertical">
2022-10-22 17:42:17 +08:00
<LinearLayout
2022-10-10 17:22:04 +08:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-10-22 17:42:17 +08:00
android:gravity="bottom">
<ImageView
android:id="@+id/icon_start_number"
android:layout_width="12dp"
android:layout_height="12dp"
android:src="@mipmap/icon_start_number" />
<TextView
android:id="@+id/number_of_people_assisted"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/number_of_people_assisted"
android:textColor="#C53F4E"
android:textSize="7.97sp" />
</LinearLayout>
2022-10-10 17:22:04 +08:00
<com.yunbao.common.views.weight.ProgressView
android:id="@+id/assist_progress"
android:layout_width="match_parent"
android:layout_height="4.33dp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="1.67dp">
<TextView
android:id="@+id/current_assist_num"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
android:textColor="#FE762A"
2022-10-12 10:05:30 +08:00
android:textSize="6.5dp" />
2022-10-10 17:22:04 +08:00
<TextView
android:id="@+id/target_assist_num"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="/100"
android:textColor="#7A0002"
2022-10-12 10:05:30 +08:00
android:textSize="6.5dp" />
2022-10-10 17:22:04 +08:00
</LinearLayout>
</LinearLayout>
</LinearLayout>
</FrameLayout>
</RelativeLayout>