HI.

Just like with other views, put it in the layout xml:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
    android:orientation="vertical" android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <Button android:id="@+id/selection" android:layout_width="fill_parent"
        android:layout_height="wrap_content" android:text="a button" />

    <ListView android:id="@android:id/list"
android:layout_width="fill_parent"
        android:layout_height="fill_parent"
android:drawSelectorOnTop="false" />

</LinearLayout>

-- Antti

On Thu, Jan 21, 2010 at 11:38 AM, umar <mr_muskura...@yahoo.com> wrote:

> hi,
>
> can any one guide me how can i put
>
>
> Text  Button
>
> in list activity???
>
>
> any help would be appriciated.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
>
-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to