Answers for "how to have rounded edges in android studio"

1

round corner imageview android

<com.makeramen.roundedimageview.RoundedImageView
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:id="@+id/imageView1"
        android:src="@drawable/photo1"
        android:scaleType="fitCenter"
        app:riv_corner_radius="30dip"
        app:riv_border_width="2dip"
        app:riv_border_color="#333333"
        app:riv_mutate_background="true"
        app:riv_tile_mode="repeat"
        app:riv_oval="true" />
Posted by: Guest on April-25-2020
0

drawable only round specific corners in android studio

<corners android:topLeftRadius="6dp" android:topRightRadius="6dp"
         android:bottomLeftRadius="0.1dp" android:bottomRightRadius="0.1dp"/>
Posted by: Guest on August-16-2021

Code answers related to "how to have rounded edges in android studio"

Browse Popular Code Answers by Language