1、使用TextInputLayout创建一个登陆界面
http://www.jcodecraeer.com/a/basictutorial/2015/0821/3338.html
<android.support.design.widget.TextInputLayout android:layout_height="wrap_content" android:layout_width="match_parent"> <EditText android:layout_width="match_parent" android:layout_height="wrap_content"/> </android.support.design.widget.TextInputLayout>
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_width="match_parent"
http://blog.csdn.net/zwj540469505/article/details/11639385
match_parent和fill_parent是一个意思
fill_parent设置一个顶部布局或控件强制性让它布满整个屏幕。
wrap_content布局指根据视图内部内容自动扩展以适应其大小。
http://blog.csdn.net/Biegral/article/details/46373219
设置页面颜色风格
http://www.aoaoyi.com/archives/623.html
http://blog.csdn.net/ljw124213/article/details/52743486
1在res/values/styles下设置