Skip to content Skip to sidebar Skip to footer

Display The Imageview After Listview

i want to add the imageview after listview. In listview i have so many elements.so my xml file is like this please look and help me what i want to add in this xml file..

Solution 1:

add attribute android:layout_alignParentBottom="true" in your ImageView and add this in your ListView android:layout_above="@+id/imageViewId"

Solution 2:

Nothing worked for me except adding the ImageView as Footer of ListView.

Better put your ImageView in a separate layout file and then inflate it programmatically and add it to the list as a footer view.

Viewfooter= getLayoutInflater().inflate(R.layout.footer_image_view, null);
listView.addFooterView(footer);

Post a Comment for "Display The Imageview After Listview"