摘要:
LinearLayout线性布局:根据orientation的属性值排布:当属性值为horizontal时,在视图水平方向从左向右排列;当属性值为vertical时,在视图垂直方向从上向下排列。 RelativelLayout相对布局: GridLayout网格布局:默认从左往右,从上到下的布局。定 阅读全文
posted @ 2025-03-12 20:08
sword_kong
阅读(12)
评论(0)
推荐(0)
摘要:
通过在antivity_xml设置按钮并添加属性 : <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:ori 阅读全文
posted @ 2025-03-12 17:25
sword_kong
阅读(20)
评论(0)
推荐(0)

浙公网安备 33010602011771号