po3a  

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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/ic_launcher_background"
tools:context=".MainActivity"
android:orientation="vertical">


<TextView

android:id="@+id/et1"
android:layout_marginTop="150dp"
android:layout_width="match_parent"
android:layout_height="75dp"
android:gravity="center"
android:text="添加"
android:textColor="#50120D"
android:textSize="25sp" />

<EditText

android:id="@+id/et2"
android:layout_marginTop="15dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:hint="课程名称"
android:inputType="textMultiLine"
android:gravity="center_vertical"
android:maxLines="1" />

<EditText

android:id="@+id/et3"
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:hint="任课教师"
android:inputType="textMultiLine"
android:gravity="center_vertical"
android:maxLines="1" />

<EditText

android:id="@+id/et4"
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:hint="上课地点"
android:inputType="textMultiLine"
android:gravity="center_vertical"
android:maxLines="1" />

 

<Button
android:id="@+id/et5"
android:layout_width="100dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:text="添加"
android:textSize="15sp" />

 

</LinearLayout>

posted on   po3a  阅读(5)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 25岁的心里话
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
 
点击右上角即可分享
微信分享提示