circle imageview dependency in android
implementation 'de.hdodenhof:circleimageview:3.1.0'
circle imageview dependency in android
implementation 'de.hdodenhof:circleimageview:3.1.0'
circular imageview android
implementation 'de.hdodenhof:circleimageview:3.1.0'
<de.hdodenhof.circleimageview.CircleImageView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/profile_image"
android:layout_width="96dp"
android:layout_height="96dp"
android:src="@drawable/profile"
app:civ_border_width="2dp"
app:civ_border_color="#FF000000"/>
circle image android
dependencies {
...
implementation 'de.hdodenhof:circleimageview:3.1.0'
}
android studio circular image button
// drawable xml file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval" >
<gradient
android:startColor="#FFFF0000"
android:endColor="#80FF00FF"
android:angle="270" />
</shape>
<!-------------------------------------------------->
// call in activity xml file
<ImageButton
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/name_shape_drawable" // drawable shape
/>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us