Static ListView – android

by Faiz | 22 Dec 2018

Static ListView Creation in Android

Step 1 : Select File -> New Project -> Project Name

Step 2 : Open res -> layout -> activity_main.xml  add following code :

 

Step 3 : Open src -> package -> MainActivity.java and add following code :
Step 5 : Open res ->values ->strings.xml and add following code :

 

 

Step 6 : Output:
android listview

android listview

 

Download code