Posts

Showing posts from April, 2016
Image
Section Header Listview in android Today we are learning about the section header in android. L istview  are commonly used to display a large set of similar data. But in the section header list we can show the similar data list in the different and separate section of the list view. Here I am using the adapter class for loading the view of list one by one by using get view method. So lets start the coding about the section header. layout/main.xml ? 1 2 3 4 5 6 7 <linearlayout android:layout_height= "fill_parent" android:layout_width= "fill_parent" android:orientation= "vertical" xmlns:android= " http://schemas.android.com/apk/res/android " > <textview android:layout_height= "wrap_content" android:layout_width= "fill_parent" android:text= "@string/hello" >   <listview android:id= "@+id/listView_main" android:layout_height= "wrap_content" andr