In this video I’m going to show you how to create Circle imageview in android studio, using an existing library.
Link:
🏆 My Courses:
💎 My Google Play Store:
💡 My Portfolio:
Tag: circular imageview android, circle, circled, image, view, imageview, android, studio, java, how to, guide, tutorial, create, make, design, circular, round
Xem thêm: https://5giây.vn/category/review
Nguồn: https://5giây.vn
NOTE :
guys just give clean project then this will work 100%
it is work for me >>>>> tested in 15/9/2020 thanx
this method doesnt work
Hi Stevdza, is there an additional advantage apart from the border with this library as opposed to doing this:
<androidx.cardview.widget.CardView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_12dp"
app:cardCornerRadius="18dp"
app:cardPreventCornerOverlap="false"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ImageView
style="@style/list_view_image"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_margin="0dp"
android:background="@drawable/gray_rectangular_ripple_effect"
android:src="@drawable/black_color_rectangle" />
</androidx.cardview.widget.CardView>
For those of whom it's not working for. simply do a clean project. It should work
Doesn't work at all
Very sad how Google didn't decide to create a circlular imageview option themselves. In iOS there's an easy option to round an imageView
This method is worked for me! This is very simple and useful. Thanks!
update: actually… after hours of struggling… i accidentally activated the phone simulator and boom, the corner is rounded… so in fact this method DOES work, android studio simply doesn't render the accurate result… lost time for this one -.-!!! I encourage you guys to view the result in a simulator or on a real device first, don't get fooled by android studio :/
"I confirm, after hours of trying everything, this method doesn't seem to wrok anymore… sad 🙁 why google doesn't provide us with easy image view corner radius property… this would be so easy :("
I think this method works well, tq
doesnt work
not working 🙁
how to change in code
Thank you very simple I love that
this method doesnt work anymore
please stop copy paste this method
Very Good