|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<androidx.core.widget.NestedScrollView 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 | + style="@style/LoginFormScrollView" |
| 6 | + android:layout_height="match_parent" |
| 7 | + android:background="?android:colorBackground" |
| 8 | + android:fillViewport="true" |
| 9 | + android:paddingTop="0dp" |
| 10 | + android:paddingBottom="0dp"> |
| 11 | + |
| 12 | + <androidx.constraintlayout.widget.ConstraintLayout |
| 13 | + android:layout_width="match_parent" |
| 14 | + android:layout_height="wrap_content"> |
| 15 | + |
| 16 | + <androidx.constraintlayout.widget.Guideline |
| 17 | + android:id="@+id/phoneConfirmationGutterStart" |
| 18 | + android:layout_width="wrap_content" |
| 19 | + android:layout_height="match_parent" |
| 20 | + android:orientation="vertical" |
| 21 | + app:layout_constraintGuide_percent="@dimen/ftue_auth_gutter_start_percent" /> |
| 22 | + |
| 23 | + <androidx.constraintlayout.widget.Guideline |
| 24 | + android:id="@+id/phoneConfirmationGutterEnd" |
| 25 | + android:layout_width="wrap_content" |
| 26 | + android:layout_height="match_parent" |
| 27 | + android:orientation="vertical" |
| 28 | + app:layout_constraintGuide_percent="@dimen/ftue_auth_gutter_end_percent" /> |
| 29 | + |
| 30 | + <Space |
| 31 | + android:id="@+id/headerSpacing" |
| 32 | + android:layout_width="match_parent" |
| 33 | + android:layout_height="52dp" |
| 34 | + app:layout_constraintBottom_toTopOf="@id/phoneConfirmationHeaderIcon" |
| 35 | + app:layout_constraintTop_toTopOf="parent" |
| 36 | + app:layout_constraintVertical_bias="0" |
| 37 | + app:layout_constraintVertical_chainStyle="packed" /> |
| 38 | + |
| 39 | + <ImageView |
| 40 | + android:id="@+id/phoneConfirmationHeaderIcon" |
| 41 | + android:layout_width="wrap_content" |
| 42 | + android:layout_height="0dp" |
| 43 | + android:adjustViewBounds="true" |
| 44 | + android:background="@drawable/circle" |
| 45 | + android:backgroundTint="?colorSecondary" |
| 46 | + android:contentDescription="@null" |
| 47 | + android:src="@drawable/ic_ftue_phone" |
| 48 | + app:layout_constraintBottom_toTopOf="@id/phoneConfirmationHeaderTitle" |
| 49 | + app:layout_constraintEnd_toEndOf="@id/phoneConfirmationGutterEnd" |
| 50 | + app:layout_constraintHeight_percent="0.12" |
| 51 | + app:layout_constraintStart_toStartOf="@id/phoneConfirmationGutterStart" |
| 52 | + app:layout_constraintTop_toBottomOf="@id/headerSpacing" |
| 53 | + app:tint="@color/palette_white" /> |
| 54 | + |
| 55 | + <TextView |
| 56 | + android:id="@+id/phoneConfirmationHeaderTitle" |
| 57 | + style="@style/Widget.Vector.TextView.Title.Medium" |
| 58 | + android:layout_width="0dp" |
| 59 | + android:layout_height="wrap_content" |
| 60 | + android:layout_marginTop="16dp" |
| 61 | + android:gravity="center" |
| 62 | + android:text="@string/ftue_auth_phone_confirmation_title" |
| 63 | + android:textColor="?vctr_content_primary" |
| 64 | + app:layout_constraintBottom_toTopOf="@id/phoneConfirmationHeaderSubtitle" |
| 65 | + app:layout_constraintEnd_toEndOf="@id/phoneConfirmationGutterEnd" |
| 66 | + app:layout_constraintStart_toStartOf="@id/phoneConfirmationGutterStart" |
| 67 | + app:layout_constraintTop_toBottomOf="@id/phoneConfirmationHeaderIcon" /> |
| 68 | + |
| 69 | + <TextView |
| 70 | + android:id="@+id/phoneConfirmationHeaderSubtitle" |
| 71 | + style="@style/Widget.Vector.TextView.Subtitle" |
| 72 | + android:layout_width="0dp" |
| 73 | + android:layout_height="wrap_content" |
| 74 | + android:layout_marginTop="8dp" |
| 75 | + android:gravity="center" |
| 76 | + android:textColor="?vctr_content_secondary" |
| 77 | + app:layout_constraintBottom_toTopOf="@id/titleContentSpacing" |
| 78 | + app:layout_constraintEnd_toEndOf="@id/phoneConfirmationGutterEnd" |
| 79 | + app:layout_constraintStart_toStartOf="@id/phoneConfirmationGutterStart" |
| 80 | + app:layout_constraintTop_toBottomOf="@id/phoneConfirmationHeaderTitle" |
| 81 | + tools:text="@string/ftue_auth_phone_confirmation_subtitle" /> |
| 82 | + |
| 83 | + <Space |
| 84 | + android:id="@+id/titleContentSpacing" |
| 85 | + android:layout_width="match_parent" |
| 86 | + android:layout_height="0dp" |
| 87 | + app:layout_constraintBottom_toTopOf="@id/phoneConfirmationInput" |
| 88 | + app:layout_constraintHeight_percent="0.03" |
| 89 | + app:layout_constraintTop_toBottomOf="@id/phoneConfirmationHeaderSubtitle" /> |
| 90 | + |
| 91 | + <com.google.android.material.textfield.TextInputLayout |
| 92 | + android:id="@+id/phoneConfirmationInput" |
| 93 | + android:layout_width="0dp" |
| 94 | + android:layout_height="wrap_content" |
| 95 | + android:hint="@string/ftue_auth_phone_confirmation_entry_title" |
| 96 | + app:endIconMode="clear_text" |
| 97 | + app:layout_constraintBottom_toTopOf="@id/phoneConfirmationResend" |
| 98 | + app:layout_constraintEnd_toEndOf="@id/phoneConfirmationGutterEnd" |
| 99 | + app:layout_constraintStart_toStartOf="@id/phoneConfirmationGutterStart" |
| 100 | + app:layout_constraintTop_toBottomOf="@id/titleContentSpacing"> |
| 101 | + |
| 102 | + <com.google.android.material.textfield.TextInputEditText |
| 103 | + android:layout_width="match_parent" |
| 104 | + android:layout_height="match_parent" |
| 105 | + android:imeOptions="actionDone" |
| 106 | + android:inputType="phone" |
| 107 | + android:maxLines="1" /> |
| 108 | + |
| 109 | + </com.google.android.material.textfield.TextInputLayout> |
| 110 | + |
| 111 | + <Button |
| 112 | + android:id="@+id/phoneConfirmationResend" |
| 113 | + style="@style/Widget.Vector.Button.Text.Login" |
| 114 | + android:layout_width="wrap_content" |
| 115 | + android:layout_height="wrap_content" |
| 116 | + android:backgroundTint="@color/element_background_light" |
| 117 | + android:text="@string/ftue_auth_phone_confirmation_resend_code" |
| 118 | + android:textAllCaps="true" |
| 119 | + android:textColor="?colorSecondary" |
| 120 | + app:layout_constraintBottom_toTopOf="@id/entrySpacing" |
| 121 | + app:layout_constraintEnd_toEndOf="@id/phoneConfirmationGutterEnd" |
| 122 | + app:layout_constraintHorizontal_bias="1" |
| 123 | + app:layout_constraintStart_toStartOf="@id/phoneConfirmationGutterStart" |
| 124 | + app:layout_constraintTop_toBottomOf="@id/phoneConfirmationInput" /> |
| 125 | + |
| 126 | + <Space |
| 127 | + android:id="@+id/entrySpacing" |
| 128 | + android:layout_width="match_parent" |
| 129 | + android:layout_height="0dp" |
| 130 | + app:layout_constraintBottom_toTopOf="@id/phoneConfirmationSubmit" |
| 131 | + app:layout_constraintHeight_percent="0.03" |
| 132 | + app:layout_constraintTop_toBottomOf="@id/phoneConfirmationResend" |
| 133 | + app:layout_constraintVertical_bias="0" |
| 134 | + app:layout_constraintVertical_chainStyle="packed" /> |
| 135 | + |
| 136 | + <Button |
| 137 | + android:id="@+id/phoneConfirmationSubmit" |
| 138 | + style="@style/Widget.Vector.Button.Login" |
| 139 | + android:layout_width="0dp" |
| 140 | + android:layout_height="wrap_content" |
| 141 | + android:text="@string/login_set_email_submit" |
| 142 | + android:textAllCaps="true" |
| 143 | + app:layout_constraintBottom_toBottomOf="parent" |
| 144 | + app:layout_constraintEnd_toEndOf="@id/phoneConfirmationGutterEnd" |
| 145 | + app:layout_constraintStart_toStartOf="@id/phoneConfirmationGutterStart" |
| 146 | + app:layout_constraintTop_toBottomOf="@id/entrySpacing" /> |
| 147 | + |
| 148 | + </androidx.constraintlayout.widget.ConstraintLayout> |
| 149 | + |
| 150 | +</androidx.core.widget.NestedScrollView> |
0 commit comments