microrj / android_superellipse Goto Github PK
View Code? Open in Web Editor NEWA Squircle Android Library.
A Squircle Android Library.
Hello. I've wanted to use an alpha version of the library and added the dependency but get this error on Gradle sync.
Could not find com.github.MicroRJ:android_superellipse:v3.0.2-alpha
The problem remains with all tags starting with v
suffix. Old stable version works like charm.
Please fix tags for alpha versions ๐
Importing a repo
In recent Android Studio versions Gradle files layout was changed so old allprojects
section will not work.
I had to add JitPack repo in settings.gradle
file because recently Android Studio changed file for repos definition.
My settings.gradle
:
import org.gradle.api.initialization.resolve.RepositoriesMode
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
rootProject.name = "Springboard"
include ':app'
Please add:
SuperellipseImageView SuperellipseImageView_Icon = findViewById(R.id.SuperellipseImageView_Icon);
//Color Fill
SuperellipseImageView_Icon.setColorFill(Color.RED);
Color color = SuperellipseImageView_Icon.getColorFill();
//Color Stroke
SuperellipseImageView_Icon.setColorStroke(Color.RED);
Color color = SuperellipseImageView_Icon.getColorStroke();
//Paint Style
SuperellipseImageView_Icon.setPaintStyle(SuperellipseImageView.FILL);
SuperellipseImageView_Icon.setPaintStyle(SuperellipseImageView.STROKE);
SuperellipseImageView_Icon.setPaintStyle(SuperellipseImageView.FILL_AND_STROKE);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.