我需要把我的名單往下移。
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_marginTop="50dp">
它將邊距應用于串列中的每個元素。我只需要將它應用于串列的第一個元素
uj5u.com熱心網友回復:
不要為串列項添加邊距,而是嘗試向根視圖添加邊距,即 listview 或 recyclerview,無論您使用的是哪個
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/527064.html
標籤:安卓列表布局填充
