> I am starting with ListActivity.
>
> I saw apidemos and saw that it is based on ListActivity. My doubt is,
> in my first screen I need a few labels and texts under that a list.
> How to approach this ? I cant do a setContentlayut(R.id.main) if my
> activity extends ListActivity, no ?

Yes, you can. Your ListView needs to have android:id="@android:id/list".
For an example, see:

http://github.com/commonsguy/cw-android/tree/master/Selection/List/

> more over I found the tutorial posted in the forums for ListActivity a
> bit outdated. Where is 1.5 / 1.6 based tutorials ? because I am new,
> it is taking too much time to correct 1.1 codes.

In your SDK. There is a set of ApiDemos for each version of the Android
SDK API that you have downloaded.

> lastly, if i have a todo type appfor adding deleting and deleting,
> should i use 3 different layouts or activities ?

That is difficult to answer without a lot more detail.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to