An open API service indexing awesome lists of open source software.

https://github.com/aulisius/flip-zeus

Flip an image all you want
https://github.com/aulisius/flip-zeus

android-library flip imageview

Last synced: 3 months ago
JSON representation

Flip an image all you want

Awesome Lists containing this project

README

          

# flip-zeus

Flip an image

(╯°□°)╯︵ ┻━┻

Take 6 lines of Java and make it a library

## What does this do?

`ImageFlipper` lets you flip images horizontally or vertically.

## How to use

Why would you use this though !?!?!

In your app's `build.gradle`

```
dependencies {
compile 'com.github.flipzeus:flipzeus:0.0.1'
}
```

## API
Hahaha

To flip vertically

```
ImageView mImageView = (ImageView) findViewById(R.id.imageView);
ImageFlipper.flip(mImageView, FlipDirection.VERTICAL);
```

To flip horizontally

```
ImageView mImageView = (ImageView) findViewById(R.id.imageView);
ImageFlipper.flip(mImageView, FlipDirection.HORIZONTAL);
```

You can also pass `Drawable`s or even `Bitmap`s directly.