में दिखाई नहीं दे रहा है मैं कुछ ListView
पर काम कर रहा हूं, मैं इसके तहत Button
प्रदर्शित करना चाहता हूं, मैं निम्नलिखित कोड का उपयोग कर रहा हूं लेकिन यह काम नहीं कर रहा है।सूची दृश्य के तहत बटन एंड्रॉइड
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:cacheColorHint="#00000000"
android:drawSelectorOnTop="false" />
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button" />
</LinearLayout>
बटन दिखाई नहीं दे रहा है, मुझे नहीं पता क्यों: /। किसी भी मदद सहायक मदद मिलेगी।
यह wrap_content की, उदाहरण के लिए '150dp' के बजाय एक निर्धारित चौड़ाई मूल्य दे रही है की कोशिश करो। – Mxyk
मैंने कोशिश की और बटन क्षेत्र में सूचीबद्ध सूचीदृश्य। – EJK