2024.3.31软工日报

学习时间2小时

<?xml version="1.0" encoding="utf-8"?>
<ScrollView 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"
tools:context=".line">

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

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"

android:text="请输入起始站点:"
android:textColor="#00FF5D"/>

<EditText
android:id="@+id/editTextRouteNumber1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="起始站点"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#FFAA00"
android:text="请输入终止站点:"/>

<EditText
android:id="@+id/editTextRouteNumber"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="终止站点"/>


<Button
android:id="@+id/buttonQuery"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="查询"/>

<!-- Add a TextView to display the query result here -->
<TextView
android:id="@+id/textViewResult"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@android:color/black"/>

</LinearLayout>
</ScrollView>
posted @ 2024-04-01 23:56  liuxuechao  阅读(4)  评论(0编辑  收藏  举报