diff --git a/android/README.md b/android/README.md new file mode 100644 index 0000000..4532b18 --- /dev/null +++ b/android/README.md @@ -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: + + ti.draggable + +## 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. \ No newline at end of file