开发者

The best practice for creating a text file reader on android?

开发者 https://www.devze.com 2023-03-10 22:49 出处:网络
I want to create an app that reads and displays a big text file, so basically, it\'s a text file reader. There is something specific with the reader is that I would like to show a background image wit

I want to create an app that reads and displays a big text file, so basically, it's a text file reader. There is something specific with the reader is that I would like to show a background image with the text. When the text scrolls, the image 开发者_StackOverflowmoves along with it.

I wondered what is the best practice for this? TextView? WebView? Or using SurficeView to draw the text/animation directly?

Thanks,


I would recommand a WebView. But this would be easier if you already save the large Text as a HTML-Page. You can then use the loadURL()-method to show you'r HTML-File (i guess this is for the help-page?)

0

精彩评论

暂无评论...
验证码 换一张
取 消