Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use TextView to fill remaining space of a view in android? [duplicate]

I have following requirement in my android app.

enter image description here

How can i use to behave textview as shown in the above picture?

like image 902
Dinesh Anuruddha Avatar asked Oct 03 '22 11:10

Dinesh Anuruddha


2 Answers

Since api 8 (Android 2.2) has a new interface LeadingMarginSpan2, which allows you to create text indent for the first N rows. In the image created by the indentation of 50 pixels for the first 3 rows.

Check out How to wrap text around a picture of text in TextView.

like image 195
GrIsHu Avatar answered Oct 07 '22 18:10

GrIsHu


Please check out FlowTextView

https://code.google.com/p/android-flowtextview/

like image 40
sudocoder Avatar answered Oct 07 '22 19:10

sudocoder