Word spacing
TextView has a property Android:textscalex is the kerning, and its value is a float type. View source code, default TextView This property is used by:
Android.internal.r.styleable.textview_textscalex
Settextscalex (a.getfloat (attr, 1.0f));
Line spacing
The Android system TextView the default display of Chinese will be more compact, not very beautiful. You can set property Android:linespacingextra or Android:linespacingmultiplier in order for each line to maintain a certain amount of line spacing.
For Android TextView Chinese line wrap problem, you can view the Android custom view-text wrap.
1, Android:linespacingextra
Sets the line spacing, such as "3DP."
2, Android:linespacingmultiplier
Sets a multiple of line spacing, such as "1.2″."
Reference code:
Android:layout_width= "Fill_parent"
android:layout_height= "wrap_content"
android:linespacingextra= "3DP"
android:linespacingmultiplier= "1.5"
android:textstyle= "bold"/>