Skip to content
forked from akshay2211/Oblique

With Oblique explore new styles of displaying images

License

Notifications You must be signed in to change notification settings

nuhkoca/Oblique

 
 

Repository files navigation

Oblique

With Oblique explore new styles of displaying images

Join the chat at https://gitter.im/Oblique22/Lobby Android Arsenal Release API

Oblique Android Sample App

Download

Demo

Usage

 <ak.sh.ay.oblique.ObliqueView
        android:id="@+id/obliqueView"
        android:layout_width="match_parent"
        android:layout_height="160dp"
        android:scaleType="centerCrop"
        android:src="@drawable/img"
        app:ending_slant_angle="20"
        app:starting_slant_angle="20" />

you can also add solid color by adding

 app:basecolor="#D4145A"

or can do all that by java

obliqueView.setStartAngle(20);
obliqueView.setEndAngle(20);

set image or add solid color

 obliqueView.setBaseColor(R.color.colorAccent);

Download

Download or grab via Gradle:

compile 'com.fxn769:oblique:1.0'

or Maven:

<dependency>
  <groupId>com.fxn769</groupId>
  <artifactId>oblique</artifactId>
  <version>1.0</version>
  <type>pom</type>
</dependency>

or ivy:

<dependency org='com.fxn769' name='oblique' rev='1.0'>
  <artifact name='oblique' ext='pom' ></artifact>
</dependency>

Snapshots of the development version are available in Sonatype's snapshots repository.

License

Copyright 2017 Akshay Sharma

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

About

With Oblique explore new styles of displaying images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%