2024/3/23

今日任务:继续写前段代码,今天已经差不多完成了:

<?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="match_parent"
android:background="@drawable/beijin">
tools:context=".SpaceView">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp"
app:layout_constraintEnd_toEndOf="parent">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<ImageView
android:layout_width="67dp"
android:layout_height="79dp"
android:layout_marginStart="10dp"
android:contentDescription="@string/app_name"
android:src="@drawable/time"
app:tint="@color/darkgray" />
<TextView
android:id="@+id/text"
android:layout_width="336dp"
android:layout_height="wrap_content"
android:textColor="#191818"
android:layout_weight="1"
android:text="此刻..."
android:textSize="50dp" />
</LinearLayout>



<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/sx"
android:layout_width="match_parent"
android:layout_height="600dp">

<ScrollView

android:layout_width="match_parent"
android:layout_height="418dp"

android:layout_marginTop="0dp">


<EditText
android:id="@+id/tx"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:background="@null"
android:focusable="false"
android:textSize="25dp" />
</ScrollView>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

<LinearLayout
android:id="@+id/linearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
</LinearLayout>

</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

存在问题:暂无

posted @ 2024-03-23 22:33  芊羽鱼  阅读(10)  评论(0)    收藏  举报