47
所学时间:420分钟
博客量:1
代码量:几百
所学知识:重写学习安卓端软件的框架和应用,简单改了一个页面,工程数学实验2 毛概
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schem
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/titleBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent">
TextView
android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="
历史回声
"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
TextView
android:id="@+id/tvDate"
2
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="2024
年
05
⽉
01
⽇
"
app:layout_constraintTop_toBottomOf="@id/tvTitle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvHistoryEchoes"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@id/titleBar"
app:layout_constraintBottom_toBottomOf="parent"
app:layoutManager="androidx.recyclerview.widget.StaggeredGridLayoutMa
app:spanCount="2"
tools:itemCount="10"
tools:listitem="@layout/item_history_echoes" />
</androidx.constraintlayout.widget.ConstraintLayout>
浙公网安备 33010602011771号