This commit is contained in:
YGRXZYGR 2024-06-08 13:33:45 +08:00
parent ac71407080
commit 0d6a0f5653
8 changed files with 153 additions and 9 deletions

BIN
src/main/res/drawable/f.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- 背景色 -->
<solid android:color="#FFFFFF"/>
<!-- 边框色 -->
<stroke android:width="1dip" android:color="#BBBBBB" />
</shape>

BIN
src/main/res/drawable/g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 B

BIN
src/main/res/drawable/h.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 795 B

BIN
src/main/res/drawable/i.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

View File

@ -18,17 +18,11 @@
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent" >
<TextView
android:id="@+id/textView5"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#BBBBBB"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="57dp"
app:layout_constraintBottom_toBottomOf="parent"
@ -36,6 +30,14 @@
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent">
<TextView
android:id="@+id/textView5"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#BBBBBB"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/constraintLayout3"
android:layout_width="0dp"

View File

@ -11,9 +11,144 @@
android:id="@+id/textView7"
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="TextView"
android:background="#AFEEEE"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/textView6"
android:layout_width="60dp"
android:layout_height="50dp"
android:layout_marginStart="19dp"
android:layout_marginTop="15dp"
android:text="消息"
android:textColor="#101010"
android:textSize="30sp"
android:gravity="center"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView7" />
<TextView
android:id="@+id/textView8"
android:layout_width="match_parent"
android:layout_height="65dp"
android:layout_marginTop="15dp"
android:background="@drawable/frame"
android:gravity="center_vertical|start"
android:paddingStart="70dp"
android:text="我发布的动态"
android:textColor="#101010"
android:textSize="22sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView6" />
<ImageView
android:id="@+id/imageView6"
android:layout_width="28dp"
android:layout_height="28dp"
android:layout_marginStart="19dp"
android:src="@drawable/f"
app:layout_constraintBottom_toBottomOf="@+id/textView8"
app:layout_constraintStart_toStartOf="@+id/textView8"
app:layout_constraintTop_toTopOf="@+id/textView8" />
<TextView
android:id="@+id/textView9"
android:layout_width="match_parent"
android:layout_height="65dp"
android:background="@drawable/frame"
android:gravity="center_vertical|start"
android:paddingStart="70dp"
android:text="我的赞和评论"
android:textColor="#101010"
android:textSize="22sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView8" />
<ImageView
android:id="@+id/imageView7"
android:layout_width="28dp"
android:layout_height="28dp"
android:layout_marginStart="19dp"
android:src="@drawable/g"
app:layout_constraintBottom_toBottomOf="@+id/textView9"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView8" />
<TextView
android:id="@+id/textView10"
android:layout_width="match_parent"
android:layout_height="65dp"
android:background="@drawable/frame"
android:gravity="center_vertical|start"
android:paddingStart="70dp"
android:text="我的浏览记录"
android:textColor="#101010"
android:textSize="22sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView9" />
<ImageView
android:id="@+id/imageView8"
android:layout_width="28dp"
android:layout_height="28dp"
android:layout_marginStart="19dp"
android:src="@drawable/h"
app:layout_constraintBottom_toBottomOf="@+id/textView10"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView9" />
<TextView
android:id="@+id/textView11"
android:layout_width="match_parent"
android:layout_height="65dp"
android:layout_marginTop="15dp"
android:background="@drawable/frame"
android:gravity="center_vertical|start"
android:paddingStart="70dp"
android:text="系统消息"
android:textColor="#101010"
android:textSize="22sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView10" />
<ImageView
android:id="@+id/imageView9"
android:layout_width="28dp"
android:layout_height="28dp"
android:layout_marginStart="19dp"
android:src="@drawable/img_2"
app:layout_constraintBottom_toBottomOf="@+id/textView11"
app:layout_constraintStart_toStartOf="@+id/textView11"
app:layout_constraintTop_toTopOf="@+id/textView11" />
<TextView
android:id="@+id/textView12"
android:layout_width="match_parent"
android:layout_height="65dp"
android:background="@drawable/frame"
android:gravity="center_vertical|start"
android:paddingStart="70dp"
android:text="小助手"
android:textColor="#101010"
android:textSize="22sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView11" />
<ImageView
android:id="@+id/imageView10"
android:layout_width="28dp"
android:layout_height="28dp"
android:layout_marginStart="19dp"
android:src="@drawable/i"
app:layout_constraintBottom_toBottomOf="@+id/textView12"
app:layout_constraintStart_toStartOf="@+id/textView12"
app:layout_constraintTop_toBottomOf="@+id/textView11" />
</androidx.constraintlayout.widget.ConstraintLayout>