CombineView

Introduction: View that combines multiple images
More: Author   ReportBugs   OfficialWebsite   
Tags:

HIRE US

CombineView

Usage

For a working implementation, Have a look at the Sample Project - sample

  1. Include the library as local library project. ```gradle allprojects { repositories {
     maven { url 'https://jitpack.io' }
    
    } }

dependencies { implementation 'com.github.VRGsoftUA:CombineView:0.1' }

2. Add view to layout:

3. Load image to view

//with Glide Glide.with(this) .load(R.drawable.elephant) .intoTop(image)

    Glide.with(this)
            .load(R.drawable.racoon)
            .intoBottom(image)

//or without Glide image.setTopImage(ContextCompat.getDrawable(context, R.drawable.elephant)) image.setBottomImage(ContextCompat.getDrawable(context, R.drawable.racoon)) ```

Customization

Method Description
setCorners(float corners) Sets current view corners
setType(Type type) Sets current view type(two or four sub view)

Contributing

  • Contributions are always welcome
  • If you want a feature and can code, feel free to fork and add the change yourself and make a pull request
Support Me
Apps
About Me
Google+: Trinea trinea
GitHub: Trinea