В Android XML у меня есть такие изображения:
<android.support.constraint.ConstraintLayout
android:id="@+id/cl_movie_poster"
android:layout_width="41dp"
android:layout_height="0dp"
app:layout_constraintDimensionRatio="41:63"
app:layout_constraintStart_toStartOf="@id/gl_left_gutter"
app:layout_constraintTop_toTopOf="@id/gl_top_gutter">
<ImageView
android:id="@+id/movie_poster"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/lbl_poster_image"
android:scaleType="fitCenter"
app:nullableImageUrl="http://www.example.com/image.png"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
/>
<ImageView
style="@style/MoviePosterDecorator"
android:id="@+id/movie_image_decorator"
android:layout_height="24dp"
android:elevation="0dp"
android:src="@drawable/decorator_dow_friday"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:contentDescription="@null"
/>
</android.support.constraint.ConstraintLayout>
Но мое изображение не регулирует размеры при изменении экрана. Как настроить изображение для настройки размеров и сохранения такого же соотношения при изменении макета?