11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2+ <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
33 android : layout_width =" match_parent"
44 android : layout_height =" match_parent"
5- android : gravity =" center_horizontal "
5+ android : gravity =" center "
66 android : orientation =" vertical"
7- android : paddingBottom =" 10dp" >
7+ android : paddingBottom =" 10dp"
8+ android : padding =" 16dp"
9+ >
810
911 <TextView
1012 android : id =" @+id/textView1"
1921 android : id =" @+id/username"
2022 android : layout_width =" match_parent"
2123 android : layout_height =" wrap_content"
22- android : layout_alignParentLeft =" true"
23- android : layout_below =" @+id/textView1"
2424 android : ems =" 10"
2525 android : hint =" @string/username"
2626 android : inputType =" textEmailAddress" >
3232 android : id =" @+id/password"
3333 android : layout_width =" match_parent"
3434 android : layout_height =" wrap_content"
35- android : layout_alignParentLeft =" true"
36- android : layout_below =" @+id/username"
3735 android : ems =" 10"
3836 android : hint =" @string/password"
3937 android : inputType =" textPassword" />
4341 style =" android:buttonStyle"
4442 android : layout_width =" match_parent"
4543 android : layout_height =" wrap_content"
46- android : layout_alignParentLeft =" true"
47- android : layout_below =" @+id/password"
4844 android : layout_marginTop =" 20dp"
4945 android : text =" @string/login_button" />
5046
51- <TextView
52- android : id =" @+id/legalTextView"
53- android : layout_width =" wrap_content"
54- android : layout_height =" wrap_content"
55- android : layout_alignParentBottom =" true"
56- android : layout_centerHorizontal =" true"
57- android : text =" @string/legal"
58- android : textColor =" #ff0099cc" />
5947
6048 <com .google.android.gms.common.SignInButton
6149 android : id =" @+id/sign_in_button"
62- android : layout_width =" wrap_content "
50+ android : layout_width =" match_parent "
6351 android : layout_height =" wrap_content"
64- android : layout_alignRight =" @+id/legalTextView"
65- android : layout_below =" @+id/login"
6652 android : layout_marginTop =" 28dp" >
6753 </com .google.android.gms.common.SignInButton>
6854
69- </RelativeLayout >
55+ <TextView
56+ android : id =" @+id/legalTextView"
57+ android : layout_width =" wrap_content"
58+ android : layout_height =" wrap_content"
59+ android : text =" @string/legal"
60+ android : paddingTop =" 16dp"
61+ android : textColor =" #ff0099cc" />
62+ </LinearLayout >
0 commit comments