3
I’m trying to create a menu screen something like this:
To make this cut diagonally, I made this image to stay on top of the background:
However, in Android Studio, I can not resize the image to occupy the space needed on the screen, I’m using the Constraint Layout and when trying to enlarge the image, even with an image of high resolution she gets like this:
It does not increase right, I have tried to touch various settings like: Scaletype, Adjustviewbounds, cropToPadding, I’m all day behind that and so far nothing
Follow her XML code:
<ImageView
android:id="@+id/imageView"
android:layout_width="616dp"
android:layout_height="449dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:srcCompat="@mipmap/ic_diag" />
Hello, Ramaral, thanks for your help! But you still haven’t solved the problem. See how it looks: https://image.prntscr.com/image/yfsTAtjLRHGWvMaJgsSQZw.png
– user95764
See the considerations added to the answer.
– ramaral