From ac1f3989b06a88eeaf533992f4739946e313a5c5 Mon Sep 17 00:00:00 2001 From: Kirill Biakov Date: Wed, 24 Aug 2016 17:46:59 +0300 Subject: [PATCH] Updated example --- example/src/main/res/values/strings.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/src/main/res/values/strings.xml b/example/src/main/res/values/strings.xml index 8c3ef50..87701dd 100644 --- a/example/src/main/res/values/strings.xml +++ b/example/src/main/res/values/strings.xml @@ -90,15 +90,15 @@ CodeView codeView = (CodeView) findViewById(R.id.code_view);\n \n // use chaining to build view\n - codeView.highlightCode("js")\n + codeView.highlightCode(\"js\")\n .setColorTheme(ColorTheme.SOLARIZED_LIGHT.withBgContent(myColor))\n .setCodeContent(getString(R.string.listing_js));\n \n // do not use chaining for built view\n // (you can, but follow it should be performed sequentially)\n codeView.setCodeContent(getString(R.string.listing_java));\n - codeView.highlightCode("java"); - } + codeView.highlightCode("java");\n + }\n }