code show in one line
Dishant624 opened this issue · comments
Dishant Patel commented
CodeView codeView = (CodeView) findViewById(R.id.code_view);
codeView.setVerticalFadingEdgeEnabled(true);
codeView.highlightCode("java")
.setColorTheme(ColorTheme.SOLARIZED_LIGHT)
.setCodeContent(getString(R.string.code));
Kirill Biakov commented
Does your code content contains line break characters?
Dishant Patel commented
No
Kirill Biakov commented
You must add them, because text parser cannot understand where he should slice content on lines.