如何创建半弯曲形状的图像?

时间:2018-10-19 16:45:41

标签: android android-imageview shapes

我要创建这样的图像

enter image description here

我该如何实现?

1 个答案:

答案 0 :(得分:0)

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