Review

Circular Image View in Android

Rate this post



To implement Circular ImageView in Android, we will use an open-source library known as ‘CircularImageView’. This will be done in 2 simple steps using Kotlin …

Tag: circle imageview android, [vid_tags]

Xem thêm: https://5giây.vn/category/review

Nguồn: https://5giây.vn

17 Comments

  1. :: NOTE: …. If you want a video on a specific topic, then comment and let me know.
    I will definitely create a video on that.
    Thanks

    Reply
  2. if it still does not work for u guys go on build->makeproject and it should work after that. my image was not turning into a circle until i did that after synching the gradle files

    Reply
  3. You can create a circle image view without any other library just use ShapeableImageView

    <com.google.android.material.imageview.ShapeableImageView
    android:id="@+id/image_view"
    app:shapeAppearanceOverlay="@style/circleImageView"
    app:srcCompat="@drawable/…" />

    <style name="circleImageView" parent="">
    <item name="cornerFamily">rounded</item>
    <item name="cornerSize">50%</item>
    </style>

    Reply
  4. By putting any image in ImageView image losses it's initial dimensions and get compressed with the size of image view given…Ex if dimensions of ImageView is

    height = 100dp
    width =100dp

    Image get compressed in 100×100
    I want it to be cropped and didn't lose its dimensions

    Reply

Post Comment