Review

Circle/Round ImageView | Android Studio

Rate this post



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

16 Comments

  1. 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>

    Reply
  2. 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

    Reply
  3. 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 :("

    Reply

Post Comment