Skip to content
mahi05Public

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Oblique

With Oblique explore new styles of displaying images

Demo

Oblique Android Sample App

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

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages