search

Home  >  Q&A  >  body text

new to android. How to implement one paragraph of text, one picture and one paragraph of text like NetEase news page?

I know that TextView displays text and ImageView displays pictures. However, news content is dynamic and may include multiple texts and images, and the number is variable. How to achieve this?

And like editors, they use an Html editor such as CKEditor to edit news content and save a piece of text in html format in the field. It shouldn’t be possible with TextView and ImageView, right? I haven't seen any control with this function.

Is it made into an H5 page and displayed with WebView? Is there any other plan? How does NetEase News do it?

曾经蜡笔没有小新曾经蜡笔没有小新2751 days ago1766

reply all(11)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-16 13:32:18

    No one has provided a picture, so I will post one. You can intuitively see that the news details page of NetEase News uses WebView,也就是使用的Html.
    As shown:

    reply
    0
  • Cancelreply