Android increase space between words -
I'm working in the Android app, which has tables and rows, each line has three values. The problem is that the value is one - are closer to the other and I want to increase the space between them so that each one is above its column, like:
but it is displayed like this:
Here is a table layout in the xml file:
& lt; Table layout Android: layout_wind = "fill_parrent" android: layout_height = "fill_parent" & gt; & Lt; TableRow & gt; & Lt; TextView Android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: text = "name" android: layout_weight = "1" /> & Lt; TextView Android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: text = "email" android: layout_weight = "1" /> & Lt; TextView android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: text = "password" android: layout_weight = "1" /> & Lt; / TableRow & gt; & Lt; TextView android: id = "@ + id / user_info" Android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: text = "get user info" /> & Lt; / TableLayout & gt;
and user information in this Java file:
string userData = "" + Html.fromHtml (user name + user email + user password);
concatenated instead of a single
textView
with all the starsIn this way they should be aligned in the same way.
Comments
Post a Comment