Intermediate photo in a TextView without cutting the text in two

0

How can I place text around elements in Android Studio to look like this:

Or with the intermediate text without having to chop the text in two like this:

    
asked by Yeikel200 11.12.2017 в 18:28
source

1 answer

2

Luckily someone already raised this issue at the time and created a bookstore to solve the rest of our lives. It's called FlowTextView and it allows us to create text around an image.

Here you have it: link

As indicated, add the dependence on gradle and use it like this:

    <ImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_alignParentTop="true"
        android:padding="10dip"
        android:src="@drawable/android"/>

    
answered by 11.12.2017 / 19:21
source