首页 > 其他分享 >5.09

5.09

时间:2024-06-13 19:01:22浏览次数:7  
标签:layout parent height width 5.09 android id

<?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=".MainActivity">

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

<TextView
android:id="@+id/t1"
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_marginTop="150dp"
android:gravity="center"
android:text="查询"
android:textColor="#50120D"
android:textSize="25sp" />

<EditText
android:id="@+id/t2"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="15dp"
android:gravity="center_vertical"
android:hint="起始车站"
android:maxLines="1" />

<EditText
android:id="@+id/t3"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="15dp"
android:gravity="center_vertical"
android:hint="终点车站"
android:maxLines="1" />

<Button
android:id="@+id/t4"
android:layout_width="100dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:text="查询"
android:onClick="起终2"
android:textSize="15sp" />

<TextView
android:id="@+id/t5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="暂无记录"
android:textSize="16sp" />




</LinearLayout>


</ScrollView>

标签:layout,parent,height,width,5.09,android,id
From: https://www.cnblogs.com/kongxiangzeng/p/18246547

相关文章

  • KubeSphere 社区双周报|2024.05.09-05.23
    KubeSphere社区双周报主要整理展示新增的贡献者名单和证书、新增的讲师证书以及两周内提交过commit的贡献者,并对近期重要的PR进行解析,同时还包含了线上/线下活动和布道推广等一系列社区动态。本次双周报涵盖时间为:2024.05.09-05.23。贡献者名单新晋KubeSpherecontribu......
  • 2024.05.09 vue实现
    所花时间(包括上课): 1 h左右代码量(行):  200  左右搏客量(篇):1了解到的知识点: vue2的选项式api备注(其他): <!--components文件中的Person.vue--><template><divclass="person"><h2>姓名:{{name}}</h2><h2>年龄:{......
  • 【2023.05.09】厦门无线电A证考试体验(无线电台执照)
    考这个证书主要是上班事情不多,所以业余时间学了一下无线电三月份去厦门无线电管理局考试,三天前接到无管局接到电话今天才刚拿到证,也就是说考完可能要等一个月半才能拿到证书进去无管局,会先在会议室抽号码排队,会议室收拾得很干净,奖牌也很多因为我和同学一起去,所以我们是连号......