Ecosyste.ms: Awesome

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

https://github.com/IntruderShanky/Blaze

Perfect for Moving and Zooming Image for android
https://github.com/IntruderShanky/Blaze

Last synced: 1 day ago
JSON representation

Perfect for Moving and Zooming Image for android

Lists

README

        

Blaze
--------
Provide view for Moving Image and Zooming Image.
Easy to create continuosly moving background.

[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Blaze-blue.svg?style=flat)](http://android-arsenal.com/details/1/4460)
[![](https://jitpack.io/v/IntruderShanky/Blaze.svg)](https://jitpack.io/#IntruderShanky/Blaze)
[![Apache License](https://img.shields.io/badge/License-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![API](https://img.shields.io/badge/API-9%2B-orange.svg?style=flat)](https://android-arsenal.com/api?level=9)
[ ![Download](https://api.bintray.com/packages/intrudershanky/maven/Blaze/images/download.svg) ](https://bintray.com/intrudershanky/maven/Blaze/_latestVersion)

View Available
--------
[Demo App - IS Library](https://play.google.com/store/apps/details?id=com.intrusoft.islibrarydemo)

Get it on Google Play

#### Zoom View

![gif](Screenshots/zoom_view.gif)

-------

#### Motion View
![gif](Screenshots/motion_view.gif)

#Download
###Download via JitPack
#####Step 1. Add it in your root build.gradle at the end of repositories:
```groovy
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
```

#####Step 2. Add the dependency
```groovy
compile 'com.github.IntruderShanky:Blaze:2.1.0'
```

####**OR**
###Download via Gradle
```groovy
compile 'com.intrusoft.library:blaze:2.1.0'
```

Implementation
-----------
### Motion View

#### XML Implementation:
```xml

```
```xml
blaze:translation_factor

```

#### Java Implementation:
```java
MotionView motionView = (MotionView) findViewById(R.id.motion_view);

// to set image from resources
motionView.setImageResource(R.drawable.your_image);

// to set bitmap
motionView.setImageBitmap(yourBitmap);

// to set the animation speed
motionView.setTranslationFactor(4);
```

### Zoom View

#### XML Implementation:
```xml

```

```xml
blaze:translation_factor

```

#### Java Implementation:
```java
ZoomView zoomView = (MotionView) findViewById(R.id.motion_view);

// to set image from resources
zoomView.setImageResource(R.drawable.your_image);

// to set bitmap
zoomView.setImageBitmap(yourBitmap);

// to set the animation speed
zoomView.setTranslationFactor(0.4f);
```

Licence
--------

```
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.
```