Android layout TextView jumps from LinearLayout
<p><a href="https://i.stack.imgur.com/S5dVY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S5dVY.png" alt="enter image description here"></a>I have problem with my layout. Text with this ID "@+id/ConnectInfo" "jumps" out from  "@drawable/top_panel". I can't understand why it so. Can anyone helps me to fix my text in target area?</p>

<p>This is my full layout:</p>

<pre><code>&lt;FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:accessibilityLiveRegion="assertive"&gt;
&lt;RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"&gt;
    &lt;com.test.myapplication.CustomLogoView
        android:id="@+id/custom_logo_view1"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"

    /&gt;
&lt;/RelativeLayout&gt;

&lt;!--
Слой приложения    
--&gt;

&lt;RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"&gt;

    &lt;LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"

        android:paddingBottom="0dp"
        android:paddingLeft="0dp"
        android:paddingRight="0dp"&gt;

        &lt;LinearLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
            android:background="@drawable/top_panel"
            android:orientation="horizontal"
            android:paddingBottom="0dp"
            android:paddingLeft="0dp"
            android:paddingRight="0dp"&gt;

            &lt;TextView
                android:id="@+id/connectInfo"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Medium Text"
                android:textAppearance="?android:attr/textAppearanceMedium"/&gt;
        &lt;/LinearLayout&gt;

        &lt;LinearLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="4"
            android:orientation="horizontal"
            android:paddingBottom="0dp"
            android:paddingLeft="0dp"
            android:paddingRight="0dp"&gt;


            &lt;LinearLayout
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:orientation="vertical"
                android:paddingBottom="0dp"
                android:paddingLeft="0dp"
                android:paddingRight="0dp"&gt;


                &lt;ImageButton
                    android:id="@+id/btnStart"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_gravity="bottom"
                    android:layout_weight="1"
                    android:background="#00000000"
                    android:scaleType="fitStart"
                    android:src="@drawable/btn_sqr_search_land"/&gt;


                &lt;ImageButton
                    android:id="@+id/btnOldDev"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_gravity="bottom"
                    android:layout_weight="1"
                    android:background="#00000000"
                    android:scaleType="fitStart"
                    android:src="@drawable/btn_sqr_list_land"/&gt;
            &lt;/LinearLayout&gt;

            &lt;LinearLayout
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="5"
                android:orientation="vertical"
                android:paddingBottom="0dp"
                android:paddingLeft="0dp"
                android:paddingRight="0dp"&gt;

                &lt;RelativeLayout
                    android:id="@+id/relativeLayout"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:paddingBottom="16dp"
                    android:paddingLeft="0dp"
                    android:paddingRight="22dp"
                    android:paddingTop="16dp"&gt;
                    &lt;ListView
                        android:id="@+id/listView1"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:divider="@null"
                        android:dividerHeight="0dp"&gt;
                    &lt;/ListView&gt;

                &lt;/RelativeLayout&gt;
            &lt;/LinearLayout&gt;
        &lt;/LinearLayout&gt;
    &lt;/LinearLayout&gt;
&lt;/RelativeLayout&gt;
</code></pre>

<p></p>