Quantcast
Channel: Zeeshan Akhter » Annotation
Viewing all articles
Browse latest Browse all 4

A simple ListView, extends ListActivity

$
0
0
It’s the simplest form of ListView, extends ListActivity. The list is displayed as a single line of plain text, using the simple Android built-in layout “android.R.layout.simple_list_item_1”. package com.exercise.AndroidList; import android.app.ListActivity; import android.os.Bundle; import android.widget.ArrayAdapter; public class AndroidList extends ListActivity { String[] DayOfWeek = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; /** Called when the […]

Viewing all articles
Browse latest Browse all 4

Trending Articles