Lifefragment完善
After Width: | Height: | Size: 285 B |
After Width: | Height: | Size: 248 B |
After Width: | Height: | Size: 290 B |
After Width: | Height: | Size: 261 B |
After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 185 B |
After Width: | Height: | Size: 279 B |
|
@ -12,53 +12,102 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:text="生活指数"
|
||||
android:textSize="20dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/linearLayout2"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="200dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:background="@drawable/rounded_corners3"
|
||||
android:elevation="4dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView30"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="150dp"
|
||||
android:src="@drawable/img_17" />
|
||||
</LinearLayout>
|
||||
android:layout_width="162dp"
|
||||
android:layout_height="167dp"
|
||||
android:src="@drawable/img_17"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
<TextView
|
||||
android:id="@+id/textView58"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="50dp"
|
||||
android:layout_marginTop="-30dp"
|
||||
android:text="运动指数"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="20dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView30" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView37"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/img_24"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView58"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView58"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView58" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/linearLayout3"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="40dp"
|
||||
android:background="@drawable/rounded_corners4"
|
||||
android:elevation="4dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/linearLayout2"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView31"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/img_18" />
|
||||
</LinearLayout>
|
||||
android:layout_width="126dp"
|
||||
android:layout_height="93dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginEnd="-16dp"
|
||||
android:src="@drawable/img_18"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
<TextView
|
||||
android:id="@+id/textView58"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="洗车指南"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="15dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/imageView31"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView39"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/img_25"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView58"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView58"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView58" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/linearLayout4"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="127dp"
|
||||
|
@ -73,21 +122,45 @@
|
|||
|
||||
<ImageView
|
||||
android:id="@+id/imageView32"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/img_19" />
|
||||
</LinearLayout>
|
||||
android:layout_width="149dp"
|
||||
android:layout_height="98dp"
|
||||
android:src="@drawable/img_19"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
<TextView
|
||||
android:id="@+id/textView59"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="1"
|
||||
android:text="化妆指南"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="15dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView40"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/img_26"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="@+id/imageView32"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/linearLayout5"
|
||||
android:layout_width="380dp"
|
||||
android:layout_height="200dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="8dp"
|
||||
android:background="@drawable/rounded_corners6"
|
||||
android:elevation="4dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
app:layout_constraintEnd_toEndOf="@+id/linearLayout4"
|
||||
app:layout_constraintStart_toStartOf="@+id/linearLayout2"
|
||||
app:layout_constraintTop_toBottomOf="@+id/linearLayout2">
|
||||
|
||||
|
@ -95,19 +168,44 @@
|
|||
android:id="@+id/imageView33"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/img_20" />
|
||||
</LinearLayout>
|
||||
android:layout_marginStart="-156dp"
|
||||
android:src="@drawable/img_20"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.514" />
|
||||
|
||||
<LinearLayout
|
||||
<TextView
|
||||
android:id="@+id/textView60"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="32dp"
|
||||
android:layout_marginBottom="64dp"
|
||||
android:text="穿衣指数"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="25dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView41"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/img_27"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView60"
|
||||
app:layout_constraintEnd_toStartOf="@+id/textView60"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView60" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/linearLayout6"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="180dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="8dp"
|
||||
android:background="@drawable/rounded_corners7"
|
||||
android:elevation="4dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
app:layout_constraintStart_toStartOf="@+id/linearLayout5"
|
||||
app:layout_constraintTop_toBottomOf="@+id/linearLayout5">
|
||||
|
||||
|
@ -115,19 +213,43 @@
|
|||
android:id="@+id/imageView34"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/img_21" />
|
||||
</LinearLayout>
|
||||
android:layout_marginBottom="11dp"
|
||||
android:src="@drawable/img_21"
|
||||
app:layout_constraintBottom_toTopOf="@+id/imageView42"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
<TextView
|
||||
android:id="@+id/textView61"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:text="旅游指数"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="20dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView34" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView42"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/img_28"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView61"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView61"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView61" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/linearLayout7"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="120dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="8dp"
|
||||
android:background="@drawable/rounded_corners8"
|
||||
android:elevation="4dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
app:layout_constraintEnd_toEndOf="@+id/linearLayout5"
|
||||
app:layout_constraintTop_toBottomOf="@+id/linearLayout5">
|
||||
|
||||
|
@ -135,27 +257,78 @@
|
|||
android:id="@+id/imageView35"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/img_22" />
|
||||
</LinearLayout>
|
||||
android:layout_marginBottom="28dp"
|
||||
android:src="@drawable/img_22"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
<TextView
|
||||
android:id="@+id/textView62"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:text="晾晒指数"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="15dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView35" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView43"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/img_29"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView62"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView62"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView62" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/linearLayout8"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="52dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="8dp"
|
||||
android:background="@drawable/rounded_corners9"
|
||||
android:elevation="4dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
app:layout_constraintEnd_toEndOf="@+id/linearLayout7"
|
||||
app:layout_constraintTop_toBottomOf="@+id/linearLayout7">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView36"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/img_23" />
|
||||
</LinearLayout>
|
||||
android:layout_width="57dp"
|
||||
android:layout_height="81dp"
|
||||
android:layout_marginBottom="6dp"
|
||||
android:src="@drawable/img_23"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView63"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:text="路况指数"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="20dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView44"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/img_30"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView63"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView63"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView63" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|