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

84 lines
3.2 KiB
XML
Raw Normal View History

2025-11-20 07:30:17 +00:00
<?xml version="1.0" encoding="utf-8"?>
2025-12-09 08:32:38 +00:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2025-11-26 03:22:22 +00:00
android:id="@+id/content_root"
2025-11-26 11:21:37 +00:00
android:layout_width="wrap_content"
2025-11-21 09:52:58 +00:00
android:layout_height="wrap_content"
2025-11-20 07:30:17 +00:00
android:orientation="vertical"
2025-12-09 08:32:38 +00:00
android:gravity="center_horizontal">
2025-11-20 07:30:17 +00:00
2025-12-09 08:32:38 +00:00
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/rl_root"
2025-11-26 03:22:22 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content">
2025-11-20 07:30:17 +00:00
<androidx.appcompat.widget.AppCompatImageView
2025-11-21 09:52:58 +00:00
android:id="@+id/iv_bg"
2025-11-20 07:30:17 +00:00
android:layout_width="wrap_content"
2025-12-09 08:32:38 +00:00
android:layout_height="0dp"
2025-11-20 07:30:17 +00:00
android:layout_centerInParent="true"
2025-12-09 08:32:38 +00:00
android:src="@mipmap/bg_biginner_daily"
app:layout_constraintDimensionRatio="H, 68:80"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
2025-11-20 07:30:17 +00:00
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
2025-11-21 09:52:58 +00:00
android:gravity="center_horizontal"
2025-11-20 07:30:17 +00:00
android:layout_centerInParent="true"
2025-11-21 09:52:58 +00:00
android:layout_marginTop="10dp"
2025-12-09 08:32:38 +00:00
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
2025-11-20 07:30:17 +00:00
>
<androidx.appcompat.widget.AppCompatImageView
2025-11-20 08:00:23 +00:00
android:id="@+id/iv_gold"
2025-11-20 07:30:17 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2025-11-21 09:52:58 +00:00
android:src="@mipmap/icon_glod_small"/>
2025-11-20 07:30:17 +00:00
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_gold_num"
2025-11-21 09:52:58 +00:00
android:layout_width="wrap_content"
2025-11-20 07:30:17 +00:00
android:layout_height="wrap_content"
2025-11-21 09:52:58 +00:00
android:gravity="center"
2025-11-20 07:30:17 +00:00
android:layout_marginTop="8dp"
android:textSize="14sp"
android:textColor="@color/red_0b"
android:text="100"
/>
</LinearLayout>
2025-12-09 08:32:38 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>
2025-11-20 07:30:17 +00:00
2025-11-26 08:40:28 +00:00
<FrameLayout
2025-11-20 07:30:17 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2025-11-26 08:40:28 +00:00
android:layout_marginTop="1dp">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_day_num"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="12sp"
android:textColor="@color/gray3"
android:text="Dia"
android:layout_gravity="center"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/iv_done"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2025-11-26 11:21:37 +00:00
android:layout_marginTop="2dp"
2025-11-26 08:40:28 +00:00
android:tint="@color/green_39"
android:src="@mipmap/icon_check_mark"
android:layout_gravity="center"
/>
</FrameLayout>
2025-11-20 07:30:17 +00:00
</LinearLayout>