|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | + xmlns:tools="http://schemas.android.com/tools" |
| 5 | + android:layout_width="match_parent" |
| 6 | + android:paddingLeft="16dp" |
| 7 | + android:paddingRight="16dp" |
| 8 | + android:layout_height="match_parent"> |
| 9 | + |
| 10 | + <com.google.android.material.textfield.TextInputLayout |
| 11 | + android:id="@+id/textField" |
| 12 | + style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
| 13 | + android:layout_width="match_parent" |
| 14 | + android:layout_height="wrap_content" |
| 15 | + android:hint="@string/text_area_api_key" |
| 16 | + app:layout_constraintBottom_toBottomOf="parent" |
| 17 | + app:layout_constraintTop_toTopOf="parent"> |
| 18 | + |
| 19 | + <com.google.android.material.textfield.TextInputEditText |
| 20 | + android:layout_width="match_parent" |
| 21 | + android:layout_height="wrap_content" |
| 22 | + android:inputType="textMultiLine" |
| 23 | + tools:ignore="TextContrastCheck" /> |
| 24 | + |
| 25 | + </com.google.android.material.textfield.TextInputLayout> |
| 26 | + |
| 27 | + <com.google.android.material.button.MaterialButton |
| 28 | + android:id="@+id/button" |
| 29 | + android:layout_width="wrap_content" |
| 30 | + android:layout_height="wrap_content" |
| 31 | + android:layout_marginTop="40dp" |
| 32 | + android:textSize="16sp" |
| 33 | + android:padding="10dp" |
| 34 | + android:textColor="@color/white" |
| 35 | + android:backgroundTint="#2196f3" |
| 36 | + android:text="@string/sign_in_button" |
| 37 | + app:layout_constraintEnd_toEndOf="parent" |
| 38 | + app:layout_constraintStart_toStartOf="parent" |
| 39 | + android:drawableTint="@color/white" |
| 40 | + app:icon="@drawable/ic_login" |
| 41 | + app:iconTint="@color/white" |
| 42 | + style="@style/Widget.MaterialComponents.Button.Icon" |
| 43 | + app:layout_constraintTop_toBottomOf="@+id/textField" /> |
| 44 | + |
| 45 | + <ImageView |
| 46 | + android:id="@+id/imageView" |
| 47 | + android:layout_width="wrap_content" |
| 48 | + android:layout_height="wrap_content" |
| 49 | + android:layout_marginTop="24dp" |
| 50 | + android:contentDescription="@string/img_http_sms_logo" |
| 51 | + app:layout_constraintEnd_toEndOf="parent" |
| 52 | + app:layout_constraintHorizontal_bias="0.498" |
| 53 | + app:layout_constraintStart_toStartOf="parent" |
| 54 | + app:layout_constraintTop_toTopOf="parent" |
| 55 | + app:srcCompat="@drawable/ic_colored_logo" |
| 56 | + tools:ignore="ImageContrastCheck" /> |
| 57 | +</androidx.constraintlayout.widget.ConstraintLayout> |
0 commit comments