Skip to content

Commit

Permalink
Added missing README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
animecyc committed Dec 30, 2013
1 parent 67038cd commit 7f04a85
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions android/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# [TiDraggable](https://github.com/animecyc/TiDraggable) - Native Draggable Views

An enhanced fork of the original [TiDraggable](https://github.com/pec1985/TiDraggable) module by [Pedro](http://twitter.com/pecdev) [Enrique](https://github.com/pec1985), allows for simple creation of "draggable" views.

## Installation

In your `tiapp.xml` file add the following to the `modules` node:

<module version="2.0.0">ti.draggable<module>

## Usage

```javascript
var Draggable = require('ti.draggable'),
mainWindow = Ti.UI.createWindow({
backgroundColor : 'white'
}),
draggableView = Draggable.createView({
width : 100,
height : 100,
backgroundColor : 'black'
});

mainWindow.add(draggableView);
mainWindow.open();
```

## Credits & Notes

The work is largely based on [Pedro](http://twitter.com/pecdev) [Enrique's](https://github.com/pec1985) [TiDraggable](https://github.com/pec1985/TiDraggable) module license under the MIT (V2) license.

0 comments on commit 7f04a85

Please sign in to comment.