Also, are you talking about gravity or about layout_gravity? The latter won't work in a RelativeLayout. This will center the text in a text view: TextView ta = ...
確定! 回上一頁