Activities and ListActivities with button and lists

by ~ TreKing » Fri, 23 Apr 2010 10:37:21 GMT


Sponsored Links
 



Cool, me too! Well, mostly buses, but same diff.



Sure you can.



No, you don't HAVE to, but extending ListActivity does simplify things if
your activity is predominantly list-oriented.



Crashes HOW? We can't read your mind (or code).

 By the way, if I put
"public class NextTrain extends Activity {"

Did you actually add a ListView to the Activity?



I can try.
If you extend ListActivity you can add a header view to your ListView
containing your two buttons.
Alternatively if you extend Activity, you can create a layout with your two
buttons and a ListView.



You're welcome in advance.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking 

--



Other Threads

1. Re[2]: Ask : How to use Tilt&Shift-mode 360

Saya pake HD2 yg diisi base evo bisa tuh t/s pada 360.
prosesnya cepat dan mantaff....

Joel 
http://apobae.com/wts




-- 
===============
"

2. 3 buat Internet-an

Kemarin baru beli nomor 3,
rencana mau testing n jajal yang 1GB.
Gimana caranya ya rekan2 ? di website nya minim banget informasinya.
kagak ada step by step nya yang jelas.

- Rio.Martin -

-- 
===============
"

3. Cakep yah

4. JOIN PETISI UNTUK FACEBOOK FOR ANDROID

5. Coba rooting Evo

6. N1 Update ke FRG83D

7. https X509 webview