Android wallpaper bypass image with text

I want the android layout for the text and image to look like the one in the left image, however using ImageSpan and inserting the image into the text at startup gives me only what is in the right image.

Are there any solutions for a nice crawl of a large image with text?

|-------------| texttexttexttexttext   |-------------| 
|             | texttexttexttexttext   |             | 
|   image     | texttexttexttexttext   |   image     | 
|             | texttexttexttexttext   |             |
|-------------| texttexttexttexttext   |-------------| texttexttexttexttext
texttexttexttexttexttexttexttexttext    texttexttexttexttexttexttexttexttext
texttexttexttexttexttexttexttexttext    texttexttexttexttexttexttexttexttext
texttexttexttexttexttexttexttexttext    texttexttexttexttexttexttexttexttext
|
+3
source share
1 answer

Perhaps using WebView and writing HTML code. Execution is also possible by embedding HTML in a TextView with Html.fromHtml (String, Html.ImageGetter, Html.TagHandler) . See an example using ImageGetter here .

+2
source

Source: https://habr.com/ru/post/1777562/


All Articles