|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 |
| -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | +<LinearLayout |
| 3 | + xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 4 | android:layout_width="match_parent"
|
4 |
| - android:layout_height="match_parent"> |
| 5 | + android:layout_height="match_parent" |
| 6 | + android:clipChildren="false" |
| 7 | + android:clipToPadding="false" |
| 8 | + android:gravity="center|bottom" |
| 9 | + android:orientation="vertical"> |
5 | 10 |
|
6 | 11 | <LinearLayout
|
7 | 12 | android:layout_width="match_parent"
|
8 |
| - android:layout_height="wrap_content" |
9 |
| - android:clipChildren="false" |
10 |
| - android:clipToPadding="false" |
11 |
| - android:gravity="center|bottom" |
12 |
| - android:orientation="vertical"> |
| 13 | + android:layout_height="match_parent" |
| 14 | + android:layout_weight="1.0" |
| 15 | + android:gravity="center"> |
13 | 16 |
|
14 | 17 | <ImageView
|
15 | 18 | android:id="@+id/logo"
|
16 | 19 | style="@style/FirebaseUI.AuthMethodPicker.Logo"
|
17 |
| - android:layout_marginBottom="64dp" |
18 |
| - android:layout_marginTop="48dp" |
19 |
| - android:contentDescription="@string/accessibility_logo" /> |
| 20 | + android:contentDescription="@string/accessibility_logo"/> |
20 | 21 |
|
21 |
| - <LinearLayout |
22 |
| - android:id="@+id/btn_holder" |
23 |
| - style="@style/FirebaseUI.AuthMethodPicker.ButtonHolder"> |
| 22 | + </LinearLayout> |
24 | 23 |
|
25 |
| - <Button |
26 |
| - android:id="@+id/email_provider" |
27 |
| - style="@style/FirebaseUI.Button.AccountChooser.EmailButton" |
28 |
| - android:text="@string/sign_in_with_email" /> |
| 24 | + <LinearLayout |
| 25 | + android:id="@+id/btn_holder" |
| 26 | + android:layout_weight="0" |
| 27 | + style="@style/FirebaseUI.AuthMethodPicker.ButtonHolder"> |
29 | 28 |
|
30 |
| - </LinearLayout> |
| 29 | + <Button |
| 30 | + android:id="@+id/email_provider" |
| 31 | + style="@style/FirebaseUI.Button.AccountChooser.EmailButton" |
| 32 | + android:text="@string/sign_in_with_email"/> |
31 | 33 |
|
32 | 34 | </LinearLayout>
|
33 |
| -</ScrollView> |
| 35 | + |
| 36 | +</LinearLayout> |
0 commit comments