|
26 | 26 |
|
27 | 27 | <com.google.android.material.button.MaterialButton |
28 | 28 | android:id="@+id/button" |
| 29 | + style="@style/Widget.MaterialComponents.Button.Icon" |
29 | 30 | android:layout_width="wrap_content" |
30 | 31 | android:layout_height="wrap_content" |
31 | 32 | android:layout_marginTop="40dp" |
32 | | - android:textSize="16sp" |
33 | | - android:padding="10dp" |
34 | | - android:textColor="@color/white" |
35 | 33 | android:backgroundTint="#2196f3" |
36 | | - android:text="@string/sign_in_button" |
37 | | - app:layout_constraintEnd_toEndOf="parent" |
38 | | - app:layout_constraintStart_toStartOf="parent" |
39 | 34 | android:drawableTint="@color/white" |
| 35 | + android:padding="10dp" |
| 36 | + android:text="@string/sign_in_button" |
| 37 | + android:textColor="@color/white" |
| 38 | + android:textSize="16sp" |
40 | 39 | app:icon="@drawable/ic_login" |
41 | 40 | app:iconTint="@color/white" |
42 | | - style="@style/Widget.MaterialComponents.Button.Icon" |
43 | | - app:layout_constraintTop_toBottomOf="@+id/textField" /> |
| 41 | + app:layout_constraintEnd_toEndOf="parent" |
| 42 | + app:layout_constraintStart_toStartOf="parent" |
| 43 | + app:layout_constraintTop_toBottomOf="@+id/textField" |
| 44 | + tools:ignore="TextContrastCheck" /> |
44 | 45 |
|
45 | 46 | <ImageView |
46 | 47 | android:id="@+id/imageView" |
|
54 | 55 | app:layout_constraintTop_toTopOf="parent" |
55 | 56 | app:srcCompat="@drawable/ic_colored_logo" |
56 | 57 | tools:ignore="ImageContrastCheck" /> |
57 | | -</androidx.constraintlayout.widget.ConstraintLayout> |
| 58 | + |
| 59 | + <TextView |
| 60 | + android:id="@+id/textView" |
| 61 | + android:layout_width="wrap_content" |
| 62 | + android:layout_height="wrap_content" |
| 63 | + android:layout_marginBottom="20dp" |
| 64 | + android:autoLink="web" |
| 65 | + android:lineHeight="28sp" |
| 66 | + android:textAlignment="center" |
| 67 | + android:textSize="20sp" |
| 68 | + android:text="@string/get_your_api_key" |
| 69 | + app:layout_constraintBottom_toTopOf="@+id/textField" |
| 70 | + app:layout_constraintEnd_toEndOf="parent" |
| 71 | + app:layout_constraintHorizontal_bias="0.498" |
| 72 | + app:layout_constraintStart_toStartOf="parent" /> |
| 73 | + |
| 74 | +</androidx.constraintlayout.widget.ConstraintLayout> |
0 commit comments