一行代码上青天
2017-09-26 12:32Android中怎样设置button文本靠下居中
android:id="@+id/button2"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@mipmap/ic_launcher"
android:text="蓝牙"
android:textAlignment="gravity">
- 点赞
- 回答
- 收藏
- 复制链接分享
5条回答
为你推荐
- Android中怎样设置button文本靠下居中
- android
- button
- 5个回答
- 安卓Button按钮默认文字不居中怎么办?
- android
- button
- 布局问题
- 2个回答