Header section in ListView

ListView is a view group that displays a list of scrollable items. The list items are automatically inserted to the list using an Adapter that pulls content from a source such as an array or database query and converts each item result into a view that's placed into the list. Lets see how to create like that using ListView . Step 1: Create Project a) Open Android Studio b) Go to File >New> New Project > Project Name > Next > Next > Next > Finish Step 2 : Layout Design open activity_main.xml file and add the bellow code <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="m...