Skip to content
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.

init programmatically #89

Open
openmotion opened this issue Jun 10, 2020 · 0 comments
Open

init programmatically #89

openmotion opened this issue Jun 10, 2020 · 0 comments

Comments

@openmotion
Copy link

openmotion commented Jun 10, 2020

hello how can i init programmatically your editor ?

AttributeSet attrs = null;
final Editor tv_1 = new com.github.irshulx.Editor(mAct,null);

ViewGroup.LayoutParams xx = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,height);
tv_1.setMinimumHeight(500);
tv_1.setLayoutParams(xx);

what can be the value of attrs ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant