Why can't you use setLineSpacing? This is exactly what I would use.
Based on Android Documentation :
public void setLineSpacing (float add, float mult)
Each row will have its height multiplied by mult and adding added to it.
So what you can do:
myTextView.setLineSpacing(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 5.0f, getResources().getDisplayMetrics()), 1.0f);
Or you can change the XML layout of android:lineSpacingExtra . (See Documentation for Android .)
<TextView android:id="@+id/txtview" android:layout_height="wrap_content" android:layout_width="fill_parent" android:lineSpacingExtra="5dp" />
source share