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: 7 months 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 8 years ago)
 - Default Branch: master
 - Last Pushed: 2023-01-17T16:58:13.000Z (almost 3 years ago)
 - Last Synced: 2025-04-12T04:28:44.846Z (7 months 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: 651
 - Watchers: 21
 - Forks: 107
 - Open Issues: 4
 - 
            Metadata Files:
            
- Readme: README.md
 - Funding: .github/FUNDING.yml
 - License: LICENSE
 
 
Awesome Lists containing this project
- awesome-github-android-ui - Oblique - 探索新的显示图片样式 (ImageView)
 
README
          Oblique
=======
With Oblique explore new styles of displaying images
[](https://gitter.im/Oblique22/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://android-arsenal.com/details/1/5659)
[](https://jitpack.io/#akshay2211/Oblique)
[](https://medium.com/@fxn769/oblique-attractive-android-ui-library-ae07a87a94)
[](http://awesomeandroidlibrary.com/2018/01/31/oblique-explore-new-styles-of-displaying-images/)
[](https://android-arsenal.com/api?level=9)
[  ](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!
[](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/