|
114 | 114 |
|
115 | 115 |
|
116 | 116 | <ImageView |
117 | | - android:id="@+id/toggle_camera" |
| 117 | + android:id="@+id/last_photo_video_preview" |
118 | 118 | android:layout_width="@dimen/icon_size" |
119 | 119 | android:layout_height="@dimen/icon_size" |
120 | | - android:contentDescription="@string/toggle_camera" |
121 | | - android:padding="@dimen/normal_margin" |
122 | | - android:src="@drawable/ic_camera_front_vector" |
| 120 | + android:contentDescription="@string/view_last_media" |
| 121 | + android:padding="@dimen/medium_margin" |
123 | 122 | app:layout_constraintBottom_toBottomOf="@id/shutter" |
124 | 123 | app:layout_constraintEnd_toStartOf="@id/shutter" |
125 | 124 | app:layout_constraintHorizontal_chainStyle="spread" |
126 | 125 | app:layout_constraintStart_toStartOf="parent" |
127 | | - app:layout_constraintTop_toTopOf="@id/shutter" /> |
| 126 | + app:layout_constraintTop_toTopOf="@id/shutter" |
| 127 | + tools:src="@tools:sample/backgrounds/scenic" /> |
128 | 128 |
|
129 | 129 | <ImageView |
130 | 130 | android:id="@+id/shutter" |
|
139 | 139 | app:layout_constraintVertical_bias="1" /> |
140 | 140 |
|
141 | 141 | <ImageView |
142 | | - android:id="@+id/last_photo_video_preview" |
| 142 | + android:id="@+id/toggle_camera" |
143 | 143 | android:layout_width="@dimen/icon_size" |
144 | 144 | android:layout_height="@dimen/icon_size" |
145 | | - android:contentDescription="@string/view_last_media" |
146 | | - android:padding="@dimen/medium_margin" |
| 145 | + android:contentDescription="@string/toggle_camera" |
| 146 | + android:padding="@dimen/normal_margin" |
| 147 | + android:src="@drawable/ic_camera_front_vector" |
147 | 148 | app:layout_constraintBottom_toBottomOf="@id/shutter" |
148 | 149 | app:layout_constraintEnd_toEndOf="parent" |
149 | 150 | app:layout_constraintStart_toEndOf="@id/shutter" |
150 | | - app:layout_constraintTop_toTopOf="@id/shutter" |
151 | | - tools:src="@tools:sample/backgrounds/scenic" /> |
| 151 | + app:layout_constraintTop_toTopOf="@id/shutter" /> |
152 | 152 |
|
153 | 153 | </androidx.constraintlayout.widget.ConstraintLayout> |
0 commit comments