记账本

 

<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.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"
tools:context="com.example.a85716.diyige.MainActivity"
tools:ignore="ExtraText">


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:padding="20dp"
android:orientation="vertical">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="孔氏家庭记账本"
android:layout_marginLeft="30dp"
android:textSize="40sp"
/>

<EditText
android:layout_width="match_parent"
android:layout_marginTop="30dp"
android:maxLines="1"
android:layout_height="wrap_content"
android:hint="用户名" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:maxLines="1"
android:hint="密码" />
<Button

android:layout_width="match_parent"
android:text="登录"
android:textSize="20sp"
android:layout_height="wrap_content"/>

<Button

android:background="@android:color/transparent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_gravity="center"
android:text="注册"
android:textColor="#00ffff"
android:textSize="16sp" />



</LinearLayout>


</android.support.constraint.ConstraintLayout>

posted on 2020-02-15 18:03  孔kk  阅读(157)  评论(0)    收藏  举报

导航