|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 3 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | + xmlns:tools="http://schemas.android.com/tools" |
4 | 5 | android:layout_width="match_parent" |
5 | 6 | android:layout_height="match_parent" |
6 | 7 | android:background="@color/arduino_white"> |
|
20 | 21 | android:layout_width="40dp" |
21 | 22 | android:layout_height="40dp" |
22 | 23 | android:layout_marginStart="18dp" |
23 | | - android:background="@null" |
| 24 | + android:background="?selectableItemBackgroundBorderless" |
24 | 25 | android:contentDescription="@null" |
25 | 26 | android:scaleType="centerInside" |
26 | 27 | android:src="@drawable/ic_arduino_auth_close" |
|
47 | 48 | android:layout_width="0dp" |
48 | 49 | android:layout_height="wrap_content" |
49 | 50 | android:layout_marginStart="15dp" |
50 | | - android:layout_marginEnd="30dp" |
| 51 | + android:layout_marginEnd="15dp" |
51 | 52 | android:ellipsize="end" |
52 | 53 | android:fontFamily="@font/open_sans_bold" |
53 | 54 | android:gravity="center" |
|
90 | 91 | android:layout_width="0dp" |
91 | 92 | android:layout_height="wrap_content" |
92 | 93 | android:layout_marginTop="15dp" |
| 94 | + android:layout_marginEnd="15dp" |
93 | 95 | android:fontFamily="@font/open_sans" |
94 | 96 | android:textColor="@color/arduino_gris" |
95 | 97 | android:textSize="16sp" |
96 | | - app:layout_constraintEnd_toEndOf="parent" |
| 98 | + app:layout_constraintEnd_toStartOf="@id/redirect_to_id_page_image_view" |
97 | 99 | app:layout_constraintStart_toStartOf="parent" |
98 | | - app:layout_constraintTop_toBottomOf="@id/section_arduino_account" /> |
| 100 | + app:layout_constraintTop_toBottomOf="@id/section_arduino_account" |
| 101 | + tools:text="Lil Nickname" /> |
99 | 102 |
|
100 | 103 | <TextView |
101 | 104 | android:id="@+id/section_arduino_account_email" |
102 | 105 | android:layout_width="0dp" |
103 | 106 | android:layout_height="wrap_content" |
104 | 107 | android:layout_marginTop="2.5dp" |
| 108 | + android:layout_marginEnd="15dp" |
105 | 109 | android:fontFamily="@font/open_sans_bold" |
106 | 110 | android:textColor="@color/arduino_gris" |
107 | 111 | android:textSize="12sp" |
108 | | - app:layout_constraintEnd_toEndOf="parent" |
| 112 | + app:layout_constraintEnd_toStartOf="@id/redirect_to_id_page_image_view" |
109 | 113 | app:layout_constraintStart_toStartOf="parent" |
110 | | - app:layout_constraintTop_toBottomOf="@id/section_arduino_account_nickname" /> |
| 114 | + app:layout_constraintTop_toBottomOf="@id/section_arduino_account_nickname" |
| 115 | + tools:text="account@email.com" /> |
| 116 | + |
| 117 | + <ImageButton |
| 118 | + android:id="@+id/redirect_to_id_page_image_view" |
| 119 | + android:layout_width="wrap_content" |
| 120 | + android:layout_height="wrap_content" |
| 121 | + android:background="?selectableItemBackgroundBorderless" |
| 122 | + android:padding="8dp" |
| 123 | + android:src="@drawable/ic_external" |
| 124 | + app:layout_constraintBottom_toBottomOf="@id/section_arduino_account_email" |
| 125 | + app:layout_constraintEnd_toEndOf="parent" |
| 126 | + app:layout_constraintTop_toTopOf="@id/section_arduino_account_nickname" /> |
111 | 127 |
|
112 | 128 | <androidx.constraintlayout.widget.ConstraintLayout |
113 | 129 | android:id="@+id/section_google_drive_sync_layout" |
|
117 | 133 | android:visibility="gone" |
118 | 134 | app:layout_constraintEnd_toEndOf="parent" |
119 | 135 | app:layout_constraintStart_toStartOf="parent" |
120 | | - app:layout_constraintTop_toBottomOf="@id/section_arduino_account_email"> |
| 136 | + app:layout_constraintTop_toBottomOf="@id/section_arduino_account_email" |
| 137 | + tools:visibility="visible"> |
121 | 138 |
|
122 | 139 | <View |
123 | 140 | android:id="@+id/section_google_drive_sync_separator" |
|
178 | 195 | android:visibility="gone" |
179 | 196 | app:layout_constraintEnd_toEndOf="parent" |
180 | 197 | app:layout_constraintStart_toStartOf="parent" |
181 | | - app:layout_constraintTop_toBottomOf="@id/section_google_drive_switch_layout"> |
| 198 | + app:layout_constraintTop_toBottomOf="@id/section_google_drive_switch_layout" |
| 199 | + tools:visibility="visible"> |
182 | 200 |
|
183 | 201 | <TextView |
184 | 202 | android:id="@+id/section_google_drive_switch_change" |
185 | 203 | android:layout_width="wrap_content" |
186 | 204 | android:layout_height="wrap_content" |
| 205 | + android:background="?selectableItemBackgroundBorderless" |
187 | 206 | android:fontFamily="@font/open_sans_bold" |
188 | 207 | android:text="@string/arduino_auth_settings_section_sync_change" |
189 | 208 | android:textAllCaps="true" |
|
0 commit comments