Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akshay2211/oblique
With Oblique explore new styles of displaying images
https://github.com/akshay2211/oblique
android android-library hacktoberfest image image-manipulation image-processing image-viewer images java
Last synced: about 20 hours ago
JSON representation
With Oblique explore new styles of displaying images
- Host: GitHub
- URL: https://github.com/akshay2211/oblique
- Owner: akshay2211
- License: apache-2.0
- Created: 2017-03-21T15:05:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-17T16:58:13.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T18:49:21.150Z (15 days ago)
- Topics: android, android-library, hacktoberfest, image, image-manipulation, image-processing, image-viewer, images, java
- Language: Java
- Homepage: https://ak1.io/Oblique
- Size: 38.1 MB
- Stars: 652
- Watchers: 22
- Forks: 107
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Oblique
=======With Oblique explore new styles of displaying images
[![Join the chat at https://gitter.im/Oblique22/Lobby](https://badges.gitter.im/Oblique22/Lobby.svg)](https://gitter.im/Oblique22/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![](https://img.shields.io/badge/Android%20Arsenal-Oblique-green.svg?style=flat-square)](https://android-arsenal.com/details/1/5659)
[![](https://jitpack.io/v/akshay2211/Oblique.svg?style=flat-square)](https://jitpack.io/#akshay2211/Oblique)
[![](https://img.shields.io/badge/Medium-Oblique-black.svg?style=flat-square)](https://medium.com/@fxn769/oblique-attractive-android-ui-library-ae07a87a94)
[![](https://img.shields.io/badge/Awesome%20Android%20Library-Oblique-yellow.svg?style=flat-square)](http://awesomeandroidlibrary.com/2018/01/31/oblique-explore-new-styles-of-displaying-images/)
[![](https://img.shields.io/badge/API-9%2B-blue.svg?style=flat-square)](https://android-arsenal.com/api?level=9)[ ![Download](media/google-play-badge.png) ](https://play.google.com/store/apps/details?id=ak.sh.ay.app)
Demo
----Usage
-----
include namespace
```groovy
xmlns:app="http://schemas.android.com/apk/res-auto"
```ObliqueView xml representation
```groovy
```Change your Style by changing oblique type
```groovy
app:type="image"
app:type="solid_color"
app:type="linear_gradient"
app:type="radial_gradient"```
or can do all that by java
```groovy
obliqueView.setType(Type.LINEAR_GRADIENT);
obliqueView.setStartColor(Color.parseColor("#D4145A"));
obliqueView.setEndColor(Color.parseColor("#FBB03B"));
obliqueView.setAngle(GradientAngle.LEFT_BOTTOM_TO_RIGHT_TOP);
obliqueView.setStartAngle(12);
obliqueView.setEndAngle(0);
obliqueView.setCornerRadius(15);
obliqueView.setShadow(10);
```
set multiple types in java among these
```groovy
obliqueView.setType(Type.LINEAR_GRADIENT);
IMAGE, LINEAR_GRADIENT, RADIAL_GRADIENT, SOLID_COLOR
```
add radius and elevation by
```groovy
obliqueView.setCornerRadius(15);
obliqueView.setShadow(10);
```
Download
--------```groovy
implementation 'com.fxn769:oblique:2.2'
```
or Maven:
```xml
com.fxn769
oblique
2.2
pom
```
or ivy:
```xml
```Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].
## License
Licensed under the Apache License, Version 2.2, [click here for the full license](/LICENSE.txt).## Author & support
This project was created by [Akshay Sharma](https://akshay2211.github.io/).> If you appreciate my work, consider buying me a cup of :coffee: to keep me recharged :metal: by [PayPal](https://www.paypal.me/akshay2211)
> I love using my work and I'm available for contract work. Freelancing helps to maintain and keep [my open source projects](https://github.com/akshay2211/) up to date!
[![forthebadge](http://forthebadge.com/images/badges/built-for-android.svg)](http://forthebadge.com)
[1]: https://play.google.com/store/apps/details?id=ak.sh.ay.app
[2]: https://dl.bintray.com/fxn769/android_projects/com/fxn769/oblique/1.0/oblique-1.0-sources.jar
[snap]: https://oss.sonatype.org/content/repositories/snapshots/