You can totally do this.

Make sure that your TextView is set to
android:layout_height="wrap_content" and not to "fill_parent". That
will surely do what you are describing.

---

On Mar 11, 5:35 am, Pipen <erik.ing...@gmail.com> wrote:
> Dear All,
>
> I've tried to add a TextView before a ListView in a LinearLayout. The
> result is that the ListView wont show at all. The same thing happens
> if I put the TextView after the ListView, but then I will only see the
> ListView.
>
> Is there a way to get a text view above the ListView without to much
> of a hassle?
>
> Kind regards

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