У меня есть 4 ImageViews (см. Рисунок ниже)
![The 4 ImageViews](https://i.stack.imgur.com/NExXf.jpg)
Код для 4 изображений:
<LinearLayout
android:id="@id/LinearLayout_fromAddItemActivity_Priority"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toTopOf="@+id/FAB_fromAddItemActivity_AddItem"
app:layout_constraintTop_toBottomOf="@+id/TextView_fromAddItemActivity_SubtitlePriority"
app:layout_constraintVertical_chainStyle="packed">
<ImageView
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:onClick="setPriority"
android:tag="@{Constant.ENUM_PRIORITY_P1}"
android:contentDescription="@string/ContentDescription_fromAddItemActivity_Priority1Icon"
app:srcCompat="@drawable/ic_priority_1"/>
<ImageView
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:onClick="setPriority"
android:tag="@{Constant.ENUM_PRIORITY_P2}"
android:contentDescription="@string/ContentDescription_fromAddItemActivity_Priority2Icon"
app:srcCompat="@drawable/ic_priority_2"/>
<ImageView
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:onClick="setPriority"
android:tag="@{Constant.ENUM_PRIORITY_P3}"
android:contentDescription="@string/ContentDescription_fromAddItemActivity_Priority3Icon"
app:srcCompat="@drawable/ic_priority_3"/>
<ImageView
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:onClick="setPriority"
android:tag="@{Constant.ENUM_PRIORITY_P4}"
android:contentDescription="@string/ContentDescription_fromAddItemActivity_Priority4Icon"
app:srcCompat="@drawable/ic_priority_4"/>
При нажатии на любое из этих изображений я хочу, чтобы они перешли, как показано на рисунке ниже, с изображением, которое щелкнуло вверху!
![Clicked ImageView on top](https://i.stack.imgur.com/InTpZ.jpg)
Кто-нибудь может мне помочь с этим, пожалуйста?
(я мало знаю о переходах и анимации в Android, я просто знаю, как переходить между действиями).