Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道如何添加页脚,但如何在屏幕中间添加页眉(登录框)
将此属性用于 xml 中的相对布局
android:layout_alignParentTop="true" android:layout_gravity="center"