DeckyFx
DeckyFx

Reputation: 1308

How to create a layout that can position its inner contents if overflow

I want to create a layout which contain dynamic number of textviews, how to create the container layout to make it so it is possible to do something like this picture?enter image description here

Upvotes: 0

Views: 61

Answers (1)

Jatin
Jatin

Reputation: 1670

Use TokenAutoComplete library to do this:

Following link may solve your problem: https://github.com/splitwise/TokenAutoComplete

<com.tokenautocomplete.ContactsCompletionView
    android:id="@+id/searchView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" />

</RelativeLayout>

Upvotes: 1

Related Questions