2025-11-20 07:30:17 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2025-11-21 09:52:58 +00:00
|
|
|
<FrameLayout
|
2025-11-20 07:30:17 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2025-11-25 10:47:42 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2025-11-20 07:30:17 +00:00
|
|
|
android:layout_width="match_parent"
|
2025-11-21 09:52:58 +00:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
2025-11-25 10:47:42 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2025-11-21 09:52:58 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-11-25 10:47:42 +00:00
|
|
|
android:layout_marginTop="20dp">
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
|
android:id="@+id/aspect_ratio_view"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:src="@mipmap/daily_sign_bg"
|
|
|
|
|
android:paddingEnd="-28dp"
|
|
|
|
|
app:layout_constraintDimensionRatio="H,1058:1413"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
/>
|
2025-11-20 07:30:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-11-25 10:47:42 +00:00
|
|
|
android:orientation="vertical"
|
2025-11-26 08:40:28 +00:00
|
|
|
android:gravity="center_horizontal"
|
2025-11-25 10:47:42 +00:00
|
|
|
android:layout_marginHorizontal="30dp"
|
|
|
|
|
android:clipChildren="false"
|
2025-11-26 08:40:28 +00:00
|
|
|
android:layout_marginTop="45dp"
|
2025-11-25 10:47:42 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
>
|
2025-11-20 07:30:17 +00:00
|
|
|
|
2025-11-25 10:47:42 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2025-11-20 07:30:17 +00:00
|
|
|
android:layout_height="wrap_content"
|
2025-11-25 10:47:42 +00:00
|
|
|
android:layout_marginTop="28dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginLeft="-10dp"
|
|
|
|
|
android:src="@mipmap/icon_smile"/>
|
2025-11-20 07:30:17 +00:00
|
|
|
|
2025-11-25 10:47:42 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
|
android:src="@mipmap/temp"/>
|
|
|
|
|
</LinearLayout>
|
2025-11-20 07:30:17 +00:00
|
|
|
|
|
|
|
|
|
2025-11-25 10:47:42 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
|
android:id="@+id/tv_desc"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="-5dp"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textColor="@color/gray6"
|
|
|
|
|
android:text="@string/daily_sign_desc"
|
|
|
|
|
/>
|
2025-11-20 07:30:17 +00:00
|
|
|
|
2025-11-25 10:47:42 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
|
android:id="@+id/tv_times"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textColor="@color/gray9"
|
|
|
|
|
android:text="@string/daily_sign_times"
|
|
|
|
|
/>
|
2025-11-20 07:30:17 +00:00
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-11-25 10:47:42 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2025-11-20 07:30:17 +00:00
|
|
|
android:layout_height="wrap_content"
|
2025-11-25 10:47:42 +00:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<com.gamedog.vididin.widget.DailySignItemView
|
|
|
|
|
android:id="@+id/sign_item_1"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
/>
|
|
|
|
|
<com.gamedog.vididin.widget.DailySignItemView
|
|
|
|
|
android:id="@+id/sign_item_2"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
/>
|
|
|
|
|
<com.gamedog.vididin.widget.DailySignItemView
|
|
|
|
|
android:id="@+id/sign_item_3"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
/>
|
|
|
|
|
<com.gamedog.vididin.widget.DailySignItemView
|
|
|
|
|
android:id="@+id/sign_item_4"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2025-11-20 07:30:17 +00:00
|
|
|
android:layout_height="wrap_content"
|
2025-11-25 10:47:42 +00:00
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<com.gamedog.vididin.widget.DailySignItemView
|
|
|
|
|
android:id="@+id/sign_item_5"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
/>
|
|
|
|
|
<com.gamedog.vididin.widget.DailySignItemView
|
|
|
|
|
android:id="@+id/sign_item_6"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
/>
|
|
|
|
|
<com.gamedog.vididin.widget.DailySignItemView
|
|
|
|
|
android:id="@+id/sign_item_7"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_weight="2"
|
|
|
|
|
/>
|
|
|
|
|
</LinearLayout>
|
2025-11-20 07:30:17 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2025-11-26 08:40:28 +00:00
|
|
|
<FrameLayout
|
2025-11-20 07:30:17 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-11-25 10:47:42 +00:00
|
|
|
android:layout_marginTop="20dp"
|
2025-11-26 08:40:28 +00:00
|
|
|
android:clipChildren="false" >
|
2025-11-25 10:47:42 +00:00
|
|
|
|
2025-11-26 08:40:28 +00:00
|
|
|
<!--普通签到两个按钮场景-->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/action_normal_two_buts"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:clipChildren="false"
|
|
|
|
|
android:orientation="horizontal"
|
2025-11-25 10:47:42 +00:00
|
|
|
android:gravity="center"
|
2025-11-26 08:40:28 +00:00
|
|
|
>
|
2025-11-25 10:47:42 +00:00
|
|
|
|
2025-11-26 08:40:28 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
|
android:id="@+id/but_sign"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:background="@drawable/bg_sign_left_but"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textColor="@color/red_2f"
|
|
|
|
|
android:text="@string/resgatar"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
/>
|
2025-11-25 10:47:42 +00:00
|
|
|
|
|
|
|
|
|
2025-11-26 08:40:28 +00:00
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/but_watch_ad"
|
|
|
|
|
android:layout_width="0dp"
|
2025-11-25 10:47:42 +00:00
|
|
|
android:layout_height="wrap_content"
|
2025-11-26 08:40:28 +00:00
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_weight="1">
|
2025-11-25 10:47:42 +00:00
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2025-11-26 08:40:28 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="45dp"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:background="@mipmap/zero_bg_but"/>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
2025-11-25 10:47:42 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-11-26 08:40:28 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:layout_gravity="center">
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:src="@mipmap/task_video"/>
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:text="@string/assistir"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
|
android:layout_gravity="top|right"
|
|
|
|
|
android:layout_marginTop="-20dp"
|
|
|
|
|
android:layout_marginRight="3dp"
|
|
|
|
|
android:src="@mipmap/icon_x2"/>
|
2025-11-25 10:47:42 +00:00
|
|
|
|
2025-11-26 08:40:28 +00:00
|
|
|
</FrameLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!--已完成普通签到 待看广告)-->
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/action_watch_ad"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="52dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:paddingHorizontal="30dp"
|
2025-11-26 08:41:17 +00:00
|
|
|
android:visibility="gone"
|
2025-11-26 08:40:28 +00:00
|
|
|
android:background="@mipmap/icon_action_but_bg">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:gravity="center_vertical" >
|
2025-11-25 10:47:42 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-11-26 08:40:28 +00:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:textSize="18sp"
|
2025-11-25 10:47:42 +00:00
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:text="@string/assistir"
|
2025-11-26 08:40:28 +00:00
|
|
|
android:drawableLeft="@mipmap/task_video"
|
|
|
|
|
android:drawablePadding="5dp"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginLeft="15dp"
|
|
|
|
|
android:textSize="21sp"
|
|
|
|
|
android:textColor="@color/yellow_00"
|
|
|
|
|
android:text="+100"
|
|
|
|
|
android:drawableStart="@mipmap/task_gold"
|
|
|
|
|
android:drawablePadding="5dp"
|
2025-11-25 10:47:42 +00:00
|
|
|
/>
|
2025-11-26 08:40:28 +00:00
|
|
|
|
2025-11-25 10:47:42 +00:00
|
|
|
</LinearLayout>
|
2025-11-26 08:40:28 +00:00
|
|
|
</FrameLayout>
|
2025-11-25 10:47:42 +00:00
|
|
|
|
2025-11-26 08:40:28 +00:00
|
|
|
<!--补签-->
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/action_complement"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="52dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:paddingHorizontal="30dp"
|
|
|
|
|
android:background="@mipmap/icon_action_but_bg"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
2025-11-25 10:47:42 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-11-26 08:40:28 +00:00
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:text="@string/complement_hint"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:drawableStart="@mipmap/task_video"
|
|
|
|
|
android:drawablePadding="5dp"
|
|
|
|
|
/>
|
2025-11-25 10:47:42 +00:00
|
|
|
</FrameLayout>
|
2025-11-26 08:40:28 +00:00
|
|
|
|
|
|
|
|
</FrameLayout>
|
2025-11-25 10:47:42 +00:00
|
|
|
|
2025-11-20 07:30:17 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2025-11-25 10:47:42 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2025-11-20 07:30:17 +00:00
|
|
|
|
2025-11-25 10:47:42 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
|
android:id="@+id/iv_close"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_gravity="end"
|
|
|
|
|
android:src="@mipmap/icon_close"
|
|
|
|
|
android:layout_marginEnd="30dp"
|
|
|
|
|
/>
|
2025-11-20 07:30:17 +00:00
|
|
|
|
|
|
|
|
|
2025-11-21 09:52:58 +00:00
|
|
|
|
2025-11-20 07:30:17 +00:00
|
|
|
|
2025-11-25 10:47:42 +00:00
|
|
|
</FrameLayout>
|
|
|
|
|
|
2025-11-20 07:30:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|