Hello all -

I'm trying to add a border around a text field. Having searched the
forums I read the best way to do this is to use FrameLayout. However
when I enclose anything in FrameLayout the contents do not display at
all.

Here's a very simple example. All I see when previewing the layout is
a black screen.  Can anyone (please!) explain why the child text is
not visible?

<?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">
        <FrameLayout
                android:layout_width="fill_parent"
                android:layout_height="wrap_content" >
                <TextView android:text="Some Text To Display" />
        </FrameLayout>
</LinearLayout>

Thanks in advance!
David


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to