<ListView
android:id="@+id/listContact"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:headerDividersEnabled="true"
android:footerDividersEnabled="true"
android:dividerHeight="10dp"
android:background="@drawable/background"
android:divider="@drawable/background"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:fastScrollEnabled="true"
android:scrollingCache="true"
>
</ListView>
<Button
android:id="@+id/btnContactPostYourEnquiry"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="POST YOUR ENQUIRY"
android:background="@drawable/contact_post"
android:textColor="@color/White"
android:layout_margin="10dp"
android:layout_below="@+id/listContact"/>
我嘗試在列表視圖中到底要不要屏幕的結尾顯示PastEnqury按鈕,但產量只有列表視圖是,如果列表項是更即列表視圖必須滾動 我書面方式驗證碼顯示按鈕不顯示在相對佈局如何修復Listview項目末尾的按鈕完成?
刪除'RelativeLayout'把你的'ListView'和'Button'在'FrameLayout'和設置按鈕'Gravity'爲'Bottom' –
DownVoters提到的原因,你的向下投票 –
添加按鈕作爲頁腳到列表視圖 – Raghunandan