You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
3.4 KiB
XML
96 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_144"
|
|
android:layout_gravity="center_horizontal"
|
|
tools:ignore="MissingDefaultResource">
|
|
|
|
<ImageView
|
|
android:id="@+id/ivBg"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="fitXY"
|
|
android:visibility="visible"
|
|
android:src="@mipmap/bg_xl"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_health_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
android:layout_marginLeft="@dimen/dp_15"
|
|
android:layout_marginTop="@dimen/dp_16"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
>
|
|
|
|
<ImageView
|
|
android:id="@+id/mHealthIcon"
|
|
android:layout_width="@dimen/dp_19"
|
|
android:layout_height="@dimen/dp_19"
|
|
tools:src="@mipmap/ic_xl" />
|
|
<TextView
|
|
android:id="@+id/mHealthName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
android:textColor="@color/col_313"
|
|
android:textSize="@dimen/sp_14"
|
|
android:textStyle="bold"
|
|
tools:text="即可"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/mHealthStatus"
|
|
android:layout_width="@dimen/dp_30"
|
|
android:layout_height="@dimen/dp_15"
|
|
android:layout_marginEnd="@dimen/dp_12"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/ll_health_title"
|
|
tools:src="@mipmap/ic_health_normal" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/dp_17"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/mHealthStatus">
|
|
|
|
<TextView
|
|
android:id="@+id/mHealthInfo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/dp_3"
|
|
android:textColor="@color/col_313"
|
|
android:textSize="@dimen/sp_14"
|
|
android:textStyle="bold"
|
|
tools:text="sdfsdg" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvCalorie"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/col_7c7"
|
|
android:textSize="@dimen/sp_9"
|
|
tools:text="sdfsdg" />
|
|
|
|
<TextView
|
|
android:id="@+id/mHealthTime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/col_7c7"
|
|
android:textSize="@dimen/sp_9"
|
|
tools:text="sdgasdg" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|