FabricView


Source link: https://github.com/antwankakki/FabricView

FabricView -

A new canvas drawing library for Android. The library was born as part of a project in SD Hacks ( www.sdhacks.io) on October 3rd. It is currently under construction and will be refactored and polished in the coming weeks! Stay tuned.

Why? From Doodling on the screen and unleashing the user's creativity to capturing his signature for authentication purposes... The limit is your imagination.

Sample Screen Recording

How to use? As easy as 1, 2, 3!

Please note this is an alpha build, not feature complete, and can be buggy. If you find any bugs, report them to us here!

  1. Add JitPack to your build.gradle at the end of repositories

allprojects {

  repositories {

jcenter()

maven {
 url "https://jitpack.io" 
}

...
  
}
 
}
  ``` 
  1. Add FabricView to your dependencies

    dependencies {
    
    compile fileTree(include: ['*.jar'], dir: 'libs')
    
    compile 'com.github.antwankakki:FabricView:latest'
    
    ...
     
    }
    
  2. Add the following to your layout xml file

     <com.agsw.FabricView.FabricView
    
    android:layout_width="wrap_content"
    
    android:layout_height="wrap_content"
    
    android:id="@+id/faricView"
    
    android:layout_centerHorizontal="true"
    
    android:layout_alignParentBottom="true" />
  3. You are done! You can now reference it in your classes and do all kinds of cool things with it. Check out the api to see what it can do at http://antwankakki.github.io/FabricView/javadoc/

0.1 Milestone Progress

  • Multiple Input Colors
  • Multiple standard background modes (Notebook style, Graph paper...)
  • Export canvas as image
  • Performance (Redraw only parts of the screen that need to be redrawn)
  • Background Support
  • Images support
  • Undo/Redo Support - ToDo
  • Drawing Text captured directly from keyboard. - ToDo
  • Allowing Resize when inserting images. - ToDo
  • onCanvasChanged Event - ToDo

Future plans

  • Layers and Groups
  • More complex objects
  • Transparency
  • Rotations, translations, scalings

Thanks to...

Resources

Recycling mechanism for pager adapter.

Take Android screenshots with Falcons bright eye!

Includes dialogs, toasts and all other extra windows in your screenshot.

Android Recycler View with Parallax Effect on each item, inspired by soundcloud android app.

Simple aspect oriented annotation debugging library for Android development.

An Android project providing easy navigation between a calendar and an agenda.

Android library for creating simple pagination functionality (aka infinite scrolling) upon RecyclerView or AbsListView.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes