For example, I am doing a app where i need to store things to do, I
need to have a add, delete and edit functionality for the app. Should
I use 3 different activities or 3 different layouts for these
functionality ?

regards

On Dec 3, 10:58 pm, "Mark Murphy" <mmur...@commonsware.com> wrote:
> > 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to