Skip to content

Commit ac1f398

Browse files
committed
Updated example
1 parent 302091e commit ac1f398

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/src/main/res/values/strings.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@
9090
CodeView codeView = (CodeView) findViewById(R.id.code_view);\n
9191
\n
9292
// use chaining to build view\n
93-
codeView.highlightCode("js")\n
93+
codeView.highlightCode(\"js\")\n
9494
.setColorTheme(ColorTheme.SOLARIZED_LIGHT.withBgContent(myColor))\n
9595
.setCodeContent(getString(R.string.listing_js));\n
9696
\n
9797
// do not use chaining for built view\n
9898
// (you can, but follow it should be performed sequentially)\n
9999
codeView.setCodeContent(getString(R.string.listing_java));\n
100-
codeView.highlightCode("java");
101-
}
100+
codeView.highlightCode("java");\n
101+
}\n
102102
}
103103
</string>
104104

0 commit comments

Comments
 (0)