摘要:
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" and 阅读全文
posted @ 2020-05-10 16:30
超级学渣渣
阅读(147)
评论(0)
推荐(0)
摘要:
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" 阅读全文
posted @ 2020-05-10 16:29
超级学渣渣
阅读(196)
评论(0)
推荐(0)
摘要:
知识点: 1、在垂直布局中,我们可以指定 layout_weight的大小,来平均分配view占据的屏幕大小,这时候要把height设置为0dp(水平的设置宽度为0) 2、gravity控制子视图的显示位置 <EditText android:layout_width="match_parent" 阅读全文
posted @ 2020-05-10 16:12
超级学渣渣
阅读(144)
评论(0)
推荐(0)