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

android 4.4 nativeOnDraw failed; #10

Closed
ant-ia opened this issue Feb 3, 2017 · 3 comments
Closed

android 4.4 nativeOnDraw failed; #10

ant-ia opened this issue Feb 3, 2017 · 3 comments
Assignees

Comments

@ant-ia
Copy link

ant-ia commented Feb 3, 2017

Hi,

I have a problem on devices with Android 4.4 (kitkat)

This is the error: nativeOnDraw failed; clearing to background color

Practically the markdownview overwrites and also hides the toolbar.

I also tried it with: markdown.setLayerType(View.LAYER_TYPE_SOFTWARE, null);

but it does not solve the problem.

Tips?
Thank you

@mukeshsolanki mukeshsolanki self-assigned this Feb 8, 2017
@mukeshsolanki
Copy link
Owner

Can you please paste the full stack trace and if possible past the code you are trying to execute

@ant-ia
Copy link
Author

ant-ia commented Feb 9, 2017

Hello,
I solved this problem by simply using the LinearLayout instead of RelativeLayout as a parent of markdownview.

@mukeshsolanki
Copy link
Owner

hmmm thats strange that should not have been the case. Anyways closing the issue

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