How can I implement a 'Lettrine' render in android?

后端 未结 1 1163
自闭症患者
自闭症患者 2021-01-25 06:51

I\'ve just a little question about

How can I implement a \'Lettrine\' (dropped initial capital letter) render in android? I mean, a widget that renders a lettrine auto

1条回答
  •  抹茶落季
    2021-01-25 07:08

    The easiest way would be to put the text in a WebView with the appropriate CSS, and let the browser interpret the thing.

    As for widgerts, all layouts in Android are rectangular. There is no easy way to do this. I think, you can achieve this with a custom StaticLayout.

    0 讨论(0)
提交回复
热议问题