Nas minhas Apps de palestras eu transformo o código fonte em HTML, e depois .setText(Html.fromHtml("HTML com código em syntax highlight"))
pode ver aqui https://github.com/luciofm/ifican
Lúcio Maciel
luciofm@gmail.com
luciofm@gmail.com
On Wed, Sep 17, 2014 at 11:05 PM, Matheus Piscioneri <mxczpiscioneri@gmail.com> wrote:
Boa noite.--Vocês conhecem alguma biblioteca ou método para apresentar código fonte (Syntax Highlighting) no textview?Algo semelhante a imagem abaixo.Obrigado.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.







0 comentários:
Postar um comentário