今天需求要做一个所有app都有的登录界面,正好巩固一下我们之前学的基础布局知识。
先来看下效果图
1.布局的xml文件
<?xml version=1.0 encoding=utf-8?>
<RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android
android:layout_width=match_parent
android:layout_height=match_parent
android:background=#2197db
>
<I