VidiDin-Android/app/src/main/res/layout/activity_zerobuy.xml

178 lines
7.6 KiB
XML
Raw Normal View History

2025-11-21 03:41:27 +00:00
<?xml version="1.0" encoding="utf-8"?>
2025-12-04 07:42:14 +00:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2025-11-21 03:41:27 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
2025-12-04 07:42:14 +00:00
android:layout_height="wrap_content" >
2025-11-21 03:41:27 +00:00
2025-12-04 07:42:14 +00:00
<androidx.appcompat.widget.AppCompatImageView
2025-11-21 03:41:27 +00:00
android:layout_width="match_parent"
2025-12-04 07:42:14 +00:00
android:layout_height="wrap_content"
android:src="@mipmap/zero_bg_root"
android:scaleType="centerCrop"
/>
2025-12-08 10:54:26 +00:00
<LinearLayout
2025-12-04 07:42:14 +00:00
android:layout_width="match_parent"
2025-12-05 11:08:40 +00:00
android:layout_height="match_parent"
2025-12-08 10:54:26 +00:00
android:orientation="vertical"
2025-12-05 11:08:40 +00:00
android:id="@+id/content_root" >
2025-12-05 11:08:40 +00:00
<com.ama.core.architecture.widget.CustomTitleBar
android:id="@+id/titlebar"
android:layout_width="match_parent"
2025-12-05 11:08:40 +00:00
android:layout_height="wrap_content"
/>
2025-12-05 11:08:40 +00:00
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
2025-12-08 10:54:26 +00:00
android:layout_height="0dp"
android:layout_weight="1"
>
<LinearLayout
android:layout_width="match_parent"
2025-11-21 03:41:27 +00:00
android:layout_height="wrap_content"
2025-12-04 07:42:14 +00:00
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2025-11-24 06:07:25 +00:00
android:orientation="vertical"
2025-12-04 07:42:14 +00:00
android:layout_marginHorizontal="22dp">
2025-12-04 07:42:14 +00:00
<RelativeLayout
2025-11-24 06:07:25 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2025-12-04 07:42:14 +00:00
android:layout_marginTop="200dp">
2025-11-24 06:07:25 +00:00
2025-12-04 07:42:14 +00:00
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_zero_gold_num"
android:layout_width="wrap_content"
2025-11-24 06:07:25 +00:00
android:layout_height="wrap_content"
2025-12-04 07:42:14 +00:00
android:textSize="14sp"
android:textColor="@color/red_00_dark"
android:textStyle="bold"
android:text="0"
android:paddingVertical="4dp"
android:paddingHorizontal="15dp"
android:layout_marginBottom="5dp"
android:minWidth="100dp"
android:gravity="center"
android:drawableLeft="@mipmap/task_gold"
android:drawablePadding="5dp"
android:background="@drawable/bg_zero_gold_num"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_zero_lottery_list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:textSize="10sp"
android:textColor="@color/red_10_dark"
android:textStyle="bold"
android:text="@string/zero_menu_records"
android:paddingVertical="9dp"
android:paddingHorizontal="15dp"
android:minWidth="100dp"
android:gravity="center"
android:background="@mipmap/zero_bg_menu"
/>
</RelativeLayout>
2025-12-04 07:22:58 +00:00
2025-12-04 07:42:14 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
2025-12-05 11:08:40 +00:00
android:paddingTop="15dp"
android:background="@drawable/zero_bg_4_items"
>
2025-12-04 07:22:58 +00:00
2025-12-04 07:42:14 +00:00
<!--第一行两个-->
2025-12-08 10:51:37 +00:00
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view"
2025-12-04 07:42:14 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2025-12-08 10:51:37 +00:00
/>
2025-11-24 06:07:25 +00:00
2025-12-05 11:08:40 +00:00
<!--参加者-->
2025-11-24 06:07:25 +00:00
<LinearLayout
2025-12-04 07:42:14 +00:00
android:layout_width="match_parent"
2025-11-24 06:07:25 +00:00
android:layout_height="wrap_content"
2025-12-05 11:08:40 +00:00
android:layout_marginTop="20dp"
android:paddingVertical="8dp"
android:paddingHorizontal="15dp"
2025-12-04 07:42:14 +00:00
android:orientation="horizontal"
2025-12-05 11:08:40 +00:00
android:layout_marginHorizontal="16dp"
android:gravity="center_vertical"
android:background="@drawable/bg_zero_buy_bottom">
2025-11-24 06:07:25 +00:00
2025-12-05 11:08:40 +00:00
<androidx.appcompat.widget.AppCompatTextView
2025-12-04 07:42:14 +00:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
2025-12-05 11:08:40 +00:00
android:textColor="@color/white"
android:textSize="12sp"
android:text="@string/participar_member"
/>
2025-12-04 07:42:14 +00:00
2025-12-05 11:08:40 +00:00
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
2025-12-04 07:42:14 +00:00
android:layout_height="wrap_content"
2025-12-05 11:08:40 +00:00
android:src="@mipmap/icon_fail"
android:layout_marginStart="5dp"
/>
2025-11-24 06:07:25 +00:00
</LinearLayout>
2025-12-05 11:08:40 +00:00
<!--提示信息-->
<LinearLayout
android:layout_width="match_parent"
2025-12-04 07:42:14 +00:00
android:layout_height="wrap_content"
2025-12-05 11:08:40 +00:00
android:orientation="vertical"
android:layout_marginTop="13dp"
android:gravity="center"
android:padding="15dp"
android:background="@drawable/bg_zero_buy_bottom_hint">
2025-11-21 03:41:27 +00:00
2025-12-05 11:08:40 +00:00
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/red_9c"
android:textSize="12sp"
android:textStyle="bold"
android:text="@string/zero_buy_hint_title"
/>
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/red_9c"
android:layout_marginTop="20dp"
android:textSize="10sp"
android:text="@string/zero_buy_hint_content"
/>
2025-12-04 07:36:24 +00:00
2025-12-05 11:08:40 +00:00
</LinearLayout>
2025-12-04 07:42:14 +00:00
2025-12-05 11:08:40 +00:00
</LinearLayout>
2025-12-04 07:36:24 +00:00
2025-12-04 07:42:14 +00:00
</LinearLayout>
2025-12-04 07:36:24 +00:00
</LinearLayout>
2025-12-05 11:08:40 +00:00
</androidx.core.widget.NestedScrollView>
2025-12-08 10:54:26 +00:00
</LinearLayout>
2025-12-04 07:36:24 +00:00
2025-12-04 07:42:14 +00:00
</FrameLayout>
2025-11-21 03:41:27 +00:00
2025-12-05 11:08:40 +00:00