4月20日每日总结

今日完成了两个功能界面的设计和制作

 

 

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">


<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/back"
android:orientation="vertical">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="200dp">

<ImageView
android:id="@+id/iv_head"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="80dp"
android:src="@drawable/touxiang" />
</RelativeLayout>

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

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:text="用户名:"
android:textSize="20sp" />

<EditText
android:id="@+id/ID"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="20dp"
android:hint="请输入昵称仅由字母数字构成"
android:background="@drawable/shape"

android:maxLines="1"
android:textSize="16sp" />
</LinearLayout>

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

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:text="姓 名:"
android:textSize="20sp" />

<EditText
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="20dp"
android:hint="请输入真实姓名"
android:maxLines="1"
android:background="@drawable/shape"
android:textSize="16sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="15dp">

</LinearLayout>

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="70dp"
android:orientation="horizontal">

<Button
android:id="@+id/btn_login"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:text="上 传"
android:background="@drawable/button_back"
android:textSize="16sp"
android:layout_centerHorizontal="true"/>
</RelativeLayout>

</LinearLayout>

</LinearLayout>

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/search"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:gravity="center_horizontal">

<Button
android:id="@+id/search_NI"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_marginTop="50dp"
android:background="@drawable/btn_chaxun"
android:text="查询全部人脸信息"
android:textSize="14sp"
tools:ignore="InvalidId" />

<Button
android:id="@+id/search_ka"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginTop="50dp"
android:background="@drawable/btn_chaxun"
android:text="查询全部打卡信息"
android:textSize="14sp"
tools:ignore="InvalidId" />
</LinearLayout>

<EditText
android:id="@+id/ids"
android:layout_width="320dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:hint="请输入要查的昵称(ID)" />

<Button
android:id="@+id/time"
android:layout_width="320dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="@drawable/btn_chaxun"
android:text="选择时间"
android:textSize="14sp" />

<Button
android:id="@+id/FINALLY"
android:layout_width="320dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="15dp"
android:background="@drawable/btn_chaxun"
android:text="确认"
android:textSize="14sp" />

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">

<TextView
android:id="@+id/tv_sum"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="30dp"
android:textSize="15sp" />

</RelativeLayout>


</LinearLayout>

posted @ 2023-04-20 21:55  catchtheRainbow  阅读(20)  评论(0)    收藏  举报