Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set Padding and background drawable #16

Closed
bkjbkjbnkj687698698 opened this issue Aug 11, 2015 · 1 comment
Closed

Can't set Padding and background drawable #16

bkjbkjbnkj687698698 opened this issue Aug 11, 2015 · 1 comment
Milestone

Comments

@bkjbkjbnkj687698698
Copy link

I am trying to set padding and background drawable to RichTextditor but its not working.

mEditor.setPadding(5,5,5,5);

mEditorTitle.setBackgroundResource(R.drawable.customgrey);

@wasabeef wasabeef added this to the 0.3.0 milestone Sep 19, 2015
@wasabeef
Copy link
Owner

@Bluepies

Hi, we supported it. in 0.3.0

try this.

editor.setEditorBackgroundColor(Color.BLUE);
editor.setBackgroundColor(Color.BLUE);
editor.setBackgroundResource(R.drawable.bg);
editor.setBackground("https://raw.githubusercontent.com/wasabeef/art/master/chip.jpg");
editor.setPadding(10, 10, 10, 10);

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

No branches or pull requests

2 participants