|
26 | 26 | android:layout_width="match_parent"
|
27 | 27 | android:layout_height="match_parent">
|
28 | 28 |
|
29 |
| - <androidx.constraintlayout.widget.ConstraintLayout |
| 29 | + <LinearLayout |
30 | 30 | android:id="@+id/container"
|
31 | 31 | android:layout_width="match_parent"
|
32 | 32 | android:layout_height="wrap_content"
|
|
39 | 39 | android:layout_height="wrap_content"
|
40 | 40 | android:layout_marginHorizontal="@dimen/marginStandardMedium"
|
41 | 41 | android:layout_marginTop="@dimen/marginStandard"
|
42 |
| - android:text="@string/usernameTitle" |
43 |
| - app:layout_constraintTop_toTopOf="parent" /> |
| 42 | + android:text="@string/usernameTitle"/> |
44 | 43 |
|
45 | 44 | <TextView
|
46 | 45 | android:id="@+id/username"
|
47 | 46 | style="@style/Body.Secondary"
|
48 | 47 | android:layout_width="match_parent"
|
49 | 48 | android:layout_height="wrap_content"
|
50 | 49 | android:layout_marginHorizontal="@dimen/marginStandardMedium"
|
51 |
| - app:layout_constraintTop_toBottomOf="@id/userNameTitle" |
52 | 50 | tools:text="Test" />
|
53 | 51 |
|
54 | 52 | <TextView
|
|
58 | 56 | android:layout_height="wrap_content"
|
59 | 57 | android:layout_marginHorizontal="@dimen/marginStandardMedium"
|
60 | 58 | android:layout_marginTop="@dimen/marginStandardMedium"
|
61 |
| - android:text="@string/attachMailboxInputHint" |
62 |
| - app:layout_constraintTop_toBottomOf="@id/username" /> |
| 59 | + android:text="@string/attachMailboxInputHint" /> |
63 | 60 |
|
64 | 61 | <TextView
|
65 | 62 | android:id="@+id/email"
|
|
68 | 65 | android:layout_height="wrap_content"
|
69 | 66 | android:layout_marginHorizontal="@dimen/marginStandardMedium"
|
70 | 67 | android:paddingBottom="@dimen/marginStandardMedium"
|
71 |
| - app:layout_constraintTop_toBottomOf="@id/emailTitle" |
72 | 68 |
|
73 | 69 |
|
74 | 70 | <com.google.android.material.divider.MaterialDivider
|
75 | 71 | android:id="@+id/divider"
|
76 |
| - style="@style/ItemDivider" |
77 |
| - app:layout_constraintEnd_toEndOf="parent" |
78 |
| - app:layout_constraintStart_toStartOf="parent" |
79 |
| - app:layout_constraintTop_toBottomOf="@id/email" /> |
| 72 | + style="@style/ItemDivider" /> |
80 | 73 |
|
81 | 74 | <com.google.android.material.button.MaterialButton
|
82 | 75 | android:id="@+id/deleteAccountButton"
|
|
88 | 81 | android:text="@string/buttonAccountDelete"
|
89 | 82 | android:textColor="@color/redDestructiveAction"
|
90 | 83 | app:icon="@drawable/ic_bin"
|
91 |
| - app:iconTint="@color/redDestructiveAction" |
92 |
| - app:layout_constraintStart_toStartOf="parent" |
93 |
| - app:layout_constraintTop_toBottomOf="@id/divider" /> |
| 84 | + app:iconTint="@color/redDestructiveAction" /> |
94 | 85 |
|
95 | 86 | <LinearLayout
|
96 | 87 | android:layout_width="match_parent"
|
|
100 | 91 | android:background="@drawable/background_rounded"
|
101 | 92 | android:backgroundTint="@color/commonColor1"
|
102 | 93 | android:orientation="horizontal"
|
103 |
| - android:padding="@dimen/marginStandardMedium" |
104 |
| - app:layout_constraintEnd_toEndOf="parent" |
105 |
| - app:layout_constraintTop_toBottomOf="@id/deleteAccountButton"> |
| 94 | + android:padding="@dimen/marginStandardMedium"> |
106 | 95 |
|
107 | 96 | <ImageView
|
108 | 97 | android:id="@+id/waringIcon"
|
|
116 | 105 | style="@style/Body"
|
117 | 106 | android:layout_width="match_parent"
|
118 | 107 | android:layout_height="wrap_content"
|
119 |
| - android:text="@string/deleteAccountWarning" |
120 |
| - app:layout_constraintEnd_toEndOf="parent" |
121 |
| - app:layout_constraintStart_toEndOf="@id/waringIcon" |
122 |
| - app:layout_constraintTop_toBottomOf="@id/deleteAccountButton" /> |
| 108 | + android:text="@string/deleteAccountWarning" /> |
123 | 109 |
|
124 | 110 | </LinearLayout>
|
125 | 111 |
|
126 |
| - </androidx.constraintlayout.widget.ConstraintLayout> |
| 112 | + </LinearLayout> |
127 | 113 |
|
128 | 114 | </androidx.core.widget.NestedScrollView>
|
129 | 115 |
|
|
0 commit comments