32 lines
1.3 KiB
XML
32 lines
1.3 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="40dp"
|
|
android:paddingHorizontal="24dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tvLeftDate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:textColor="#FFCC99"
|
|
android:textSize="18sp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
tools:text="2025年6月18日 星期三" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvRightTime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:textColor="#FFCC99"
|
|
android:textSize="18sp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="@id/tvLeftDate"
|
|
app:layout_constraintBottom_toBottomOf="@id/tvLeftDate"
|
|
tools:text="14:02:39" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |