Как создать изображение с полукруглой формой? - PullRequest
0 голосов
/ 19 октября 2018

Я хочу создать подобное изображение

enter image description here

как мне этого добиться?

1 Ответ

0 голосов
/ 22 октября 2018
Try this one
    <developer.shivam.crescento.CrescentoImageView
        android:id="@+id/crescentoImageView"
        android:layout_width="match_parent"
        android:layout_marginLeft="100dp"
        android:layout_height="300dp"
        android:layout_alignParentTop="true"
        android:elevation="5dp"
        android:scaleType="centerCrop"
        app:srcCompat="@drawable/bike_wallpaper"
        app:crescentoTintMode="manual"
        app:curvature="50dp"
        android:rotation="90"
        app:curvatureDirection="outward"
       />

Проверьте этот URL https://github.com/developer-shivam/crescento?utm_source=android-arsenal.com&utm_medium=referral&utm_campaign=4684

...