antwankakki / FabricView

A new canvas drawing library for Android. Aims to be the Fabric.js for Android. Supports text, images, and hand/stylus drawing input. The library has a website and API docs, check it out
http://antwankakki.github.io/FabricView/
Apache License 2.0
1.03k stars 183 forks source link

Could you give some examples that how to use FabricView in MainActivity? #21

Open superxxz opened 7 years ago

superxxz commented 7 years ago

Hello~your FabricView looks interesting, but I want to know how to use it in the method of "onCreate"?

protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.drawview); FabricView fv = (FabricView)findViewById(R.id.faricView); }

And then? How to achieve the effect in the Screenshots?

emmanuelproulx commented 7 years ago

There is some documentation at https://github.com/antwankakki/FabricView/wiki and there will be some JavaDocs soon.