I was wondering if this can be implemented in android.

So there are basically two text views one is the name / other is the “open” .
The name can extend more than one line and the “open” should be placed adjacently .
One way is to dynamically break the name text view into two and place “open” next to it. But I don’t find it good solution . any direct way to implement it ?
Just a thought .
It can be done via setting text using
textView.setText(Html.fromHtml(styledText));