Hi Anna,

You can have any view inside your list-items.

Create a ListView with an Adapter (BaseAdapter or any other type of
Adapter).
The Adapter has 4 elements; your four tasks.

Then override the Adapter's getView(...) method.
Based upon the 'position' (from the parameters of getView(....)), you
can return a View that is as complex as you want. You can use
'inflate' this view from XML or create the entire view
programatically. Look at the API Demos for list-view for sample code.

This complex view is selectable, since it is a list-item.

On Apr 27, 5:01 pm, Anna PS <[email protected]> wrote:
> Hi there,
>
> I have an application that consists of a series of tasks, and I'm
> struggling to replicate a user experience that is simple to implement
> on the iPhone.
>
> In the abstract: on the home screen, I'd like there to be a list of
> four tasks, of various kinds.
>
> -- Two will invite the user to click on them, with an arrow. When they
> are complete, they show a tick.
> -- One task is dependent on the others, so it will be greyed out until
> the others are completed. Then it looks like the others.
> -- Another task runs in the background, so it has a progress icon
> running until it's finished, instead of an arrow.
>
> To show what I mean concretely, this is the application that I'm
> trying to replicate - check out the home 
> screen:http://www.fixmystreet.com/iphone/
>
> How would I even start to create a home screen that looks like this in
> Android? Essentially I need clickable areas with text and icons.
> Buttons can't have images attached, nor can they be greyed out. Maybe
> a List... but you can't attach checkboxes or progress indicators to
> individual items. Is a series of WebViews the best way?
>
> Or should I use something radically different like a TabWidget? I do
> like the layout here, though...
>
> Can anyone help? I'm really struggling to know what to do!
>
> Thank you for your help!
>
> Anna
--~--~---------~--~----~------------~-------~--~----~
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