由网友(恰好心动)分享简介:我想把布局在屏幕的中心。 I want to put layout in center of the screen. 推荐答案第1步:总结无论是你想在一个全屏幕在屏幕中央 RelativeLayout的 Step #1: Wrap whatever it is you want centered on the...
我想把布局在屏幕的中心。
I want to put layout in center of the screen.
推荐答案
第1步:总结无论是你想在一个全屏幕在屏幕中央 RelativeLayout的
Step #1: Wrap whatever it is you want centered on the screen in a full-screen RelativeLayout
.
步骤2:把那 RelativeLayout的
的机器人:layout_centerInParent =真正的
属性
第三步:有没有第3步
相关推荐
最新文章