Just use a standard Activity, you can still use ListView and other
components in it. So you could have something like:

<LinearLayout android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="vertical">

<!-- Header -->
<RelativeLayout android:layout_width="fill_parent"
android:layout_height="wrap_content">
   ...
</RelativeLayout>

<!-- List -->
<ListView android:id="@+id/mylist" android:layout_width="fill_parent"
android:layout_height="fill_parent" />

<!-- Footer -->
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:orientation="horizontal">
   ...
</LinearLayout>

</LinearLayout>


Not using a ListActivity just means you have to do a little bit more
work initializing your list - e.g.
ListView myList = (ListView) findViewById(R.id.mylist);
myList.setAdapter(myAdapter);

On Jul 27, 1:56 pm, charles berman <charles.heath.ber...@gmail.com>
wrote:
> I know this may be a pretty simple question, but im having problems trying
> to find what im looking for.
>
> I have  written an application that uses a listview activity. but  now that
> i think more about it, i would like to have other items included to give the
> status of the app, etc that i just want to be displayed and not scrolled so
> it wont be entered into the database. does anyone have a good link to an
> example for this>

-- 
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