|
8 | 8 |
|
9 | 9 | <androidx.constraintlayout.widget.ConstraintLayout |
10 | 10 | android:layout_width="match_parent" |
11 | | - android:layout_height="match_parent"> |
| 11 | + android:layout_height="match_parent" |
| 12 | + android:layout_gravity="center"> |
12 | 13 |
|
13 | 14 | <androidx.appcompat.widget.AppCompatImageView |
14 | 15 | android:id="@+id/iv_image" |
|
18 | 19 | android:scaleType="fitCenter" |
19 | 20 | android:src="@drawable/ic_launcher_background" |
20 | 21 | android:transitionName="@string/imageTransition" |
| 22 | + app:layout_constraintEnd_toEndOf="parent" |
21 | 23 | app:layout_constraintStart_toStartOf="parent" |
22 | 24 | app:layout_constraintTop_toTopOf="parent" |
23 | 25 | tools:targetApi="lollipop" /> |
|
31 | 33 | android:scaleType="fitCenter" |
32 | 34 | android:src="@drawable/ic_launcher_background" |
33 | 35 | android:transitionName="@string/imageTransition" |
| 36 | + app:layout_constraintEnd_toEndOf="parent" |
34 | 37 | app:layout_constraintStart_toStartOf="parent" |
35 | 38 | app:layout_constraintTop_toBottomOf="@id/iv_image" |
36 | 39 | tools:targetApi="lollipop" /> |
|
44 | 47 | android:scaleType="fitCenter" |
45 | 48 | android:src="@drawable/ic_launcher_background" |
46 | 49 | android:transitionName="@string/imageTransition" |
| 50 | + app:layout_constraintEnd_toEndOf="parent" |
47 | 51 | app:layout_constraintStart_toStartOf="parent" |
48 | 52 | app:layout_constraintTop_toBottomOf="@id/iv_image_second" |
49 | 53 | tools:targetApi="lollipop" /> |
|
0 commit comments