由网友(隔着残忍的时间__.)分享简介:我希望把标签栏,没有图像只有文字......我要居中的文本在标签栏,水平和垂直方向。恰好在中心I want to put only text in tab bar, no image... I want to center text in a tab bar, horizontally and vertically....
我希望把标签栏,没有图像只有文字......我要居中的文本在标签栏,水平和垂直方向。恰好在中心
I want to put only text in tab bar, no image... I want to center text in a tab bar, horizontally and vertically. Exactly in the center.
推荐答案
您可以将它添加到XML布局安卓重力=中心
或 Android的:layout_gravity =中心
You can add this to xml layout android:gravity="center"
or android:layout_gravity="center"
相关推荐
最新文章