Trying to add a text field to a small layout?
<p>I'm trying to insert a text field or button into a small layout bar but for some reason its not showing.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#d1cbcb"&gt;


    &lt;RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:background="#767eca"&gt;

        &lt;TextView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text = "Ankosh"
            android:textColor="#ffffff"
            android:textSize="20sp"&gt;&lt;/TextView&gt;
&lt;/RelativeLayout&gt;
   &lt;/LinearLayout&gt;
</code></pre>