Skip to content

renaldi2108/SimpleImageView

Repository files navigation

SimpleImageView

Installation

Add it in your root build.gradle at the end of repositories:

allprojects {
   repositories {
      ...
      maven { url 'https://jitpack.io' }
   }
}

Add the dependency

compile 'com.github.renaldi2108:SimpleImageView:1.0'

Usage

use xml:

<id.renaldi.simpleimageview.SimpleImageView
        android:layout_width="100dp"
        android:layout_height="wrap_content"
        app:isSquare="true"
        app:siv_top_left_radius="30dp"
        app:siv_bottom_right_radius="30dp"
        android:src="@color/colorPrimary"/>

About

This is a library Android Studio

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages