Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A fast CompassImageView perfect for Rounded Images in android

Notifications You must be signed in to change notification settings

mammahe/CompassImageView

Repository files navigation

CompassImageView

A fast CompassImageView perfect for Round Images in Android.

Usage

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

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

Add the dependency

dependencies {
	 implementation 'com.github.mammahe:CompassImageView:a15953d0b7'
	}

Add it in your res/activity_main.xml as shown below

<com.sairamkrishna.compassimageview.CompassImageView
android:layout_width="200dp"
android:layout_height="200dp"
android:src="@drawable/musk"
app:image_background_color="#FF000000"
app:image_border_color="#B22222"
app:image_border_width="2dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="MissingConstraints" />

Output

License

Copyright 2019 Sairamkrishna Mammahe

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 under the License is distributed on an "AS IS" BASIS, WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. the License for the specific language governing permissions and under the License.

About

A fast CompassImageView perfect for Rounded Images in android

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /