Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Round corners #127

Open
VakhrushevVS opened this issue Jun 18, 2021 · 1 comment
Open

Round corners #127

VakhrushevVS opened this issue Jun 18, 2021 · 1 comment

Comments

@VakhrushevVS
Copy link

How can i round corners in corusel view?

@Ajdadoc
Copy link

Ajdadoc commented Sep 8, 2022

I do it, but I have a problem. Space behind round corder paint to black color.
` apartImageSlider.run {

            setViewListener { position ->
                val sliderImage = ShapeableImageView(
                    ContextThemeWrapper(
                        requireContext(),
                        R.style.ImageBottomShape
                    )
                )
                sliderImage.scaleType = ImageView.ScaleType.CENTER_CROP

                sliderImage.loadImage(photos[position].originalUrl)
                sliderImage
            }
            pageCount = photos.size
        }`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants