Skip to content

chiradeepbanerjee1990/DoubleBorderImageView

Repository files navigation

DOUBLE BORDER IMAGE VIEW

You can use this library to have a double border circular image view for any given image of any size.

1 - Getting Started

I will explain how to use this library in your project.

2 - About Double Border Circular Image View

This is just like regular Image View, but with a rounded circle and double border associated with it. The below screenshot will help you to understand how it will look like when you use this in your project.

3 - Attribute List

Attribute Type XML Description
outerciclecolor color outerciclecolor Outer circle color
innercirclecolor color innercirclecolor Inner circle color
outerradius integer outerradius Outer circle radius value
innerradius integer innerradius Inner circle radius value
outerradiuswidth integer outerradiuswidth Outer circle stroke width
innerrardiuswidth integer innerrardiuswidth Inner circle stroke width
cliptype enum center to create the circular view from center crop
cliptype enum left to create the circular view from left crop
cliptype enum right to create the circular view from right crop
borderanim boolean borderanim to enable or disable border animation

4 - Screenshots

Center Crop
Left Crop
Right Crop
Border Animation

License

Copyright 2020 Chiradeep Banerjee

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Releases

No releases published

Packages

No packages published