android - app 协议页面的设计
巴扎黑
巴扎黑 2017-04-17 17:58:08
0
2
379

请教各位前辈,app的协议页面是如何设计的?

我如何能够让他自适应的显示出一长串的文字?并且能够给某一句话加上一些样式如字体颜色、大小、粗细等。。

是不是只能采用html页面?

巴扎黑
巴扎黑

reply all (2)
PHPzhong

This is all implemented by WebView. Implement an ActionBar yourself, and then let WebView load different URLs according to the current locale.

    刘奇

    Generally, it is recommended to use h5 for mixed graphics and text layout. For pure text, you can get the html style from the server and display it locally with TextView. Android supports html display. The method seems to be called Html.fromHtml(). The specific usage can be found on Baidu. Down

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!