I am new to android , I am trying to make a small calculator as a proof of concept. The problem I am facing is; I always get empty space in the bottom no matter what I am trying to do... Setting my button to fill\_parent , changing layout weights. I am stuck, I would like to get some help to figure it out. Maybe there is something that I am missing 

this is my layout :

```
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        xmlns:android="http://schemas.android.com/apk/res/android">
    <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:background="#635c59">
        <TextView
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:background="#635c59"
            android:layout_margin="0dip"
            android:padding="0dip"
            android:textSize="31dip"
            android:text="3456+8388388"
            android:textColor="#FFF"/>
    </FrameLayout>
    <LinearLayout
            android:orientation="vertical"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_weight="3">
        <LinearLayout
            android:layout_width="fill_parent"
            android:orientation="horizontal"
            android:layout_height="wrap_content">
            <Button
                    android:id="@+id/button_mc"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:background="#0099ce"
                    android:layout_margin="0dip"
                    android:padding="0dip"
                    android:text="MC"
                    android:layout_weight="1"
                    android:textSize="28dip"/>
            <Button
                    android:id="@+id/button_mr"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:background="#0099ce"
                    android:layout_margin="0dip"
                    android:padding="0dip"
                    android:text="MR"
                    android:layout_weight="1"
                    android:textSize="28dip"/>
            <Button
                    android:id="@+id/button_ms"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:background="#0099ce"
                    android:layout_margin="0dip"
                    android:padding="0dip"
                    android:text="MS"
                    android:layout_weight="1"
                    android:textSize="28dip"/>
            <Button
                    android:id="@+id/button_mplus"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:background="#0099ce"
                    android:layout_margin="0dip"
                    android:padding="0dip"
                    android:text="M+"
                    android:layout_weight="1"
                    android:textSize="28dip"/>
            <Button
                    android:id="@+id/button_mminus"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:background="#8000ff"
                    android:layout_margin="0dip"
                    android:padding="0dip"
                    android:text="M-"
                    android:layout_weight="1"
                    android:textSize="28dip"/>
        </LinearLayout>
        <LinearLayout
                android:layout_width="fill_parent"
                android:orientation="horizontal"
                android:layout_height="wrap_content">
            <Button
                    android:id="@+id/button_del"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:background="#0099ce"
                    android:layout_margin="0dip"
                    android:padding="0dip"
                    android:text="<--"
                    android:layout_weight="1"
                    android:textSize="28dip"/>
            <Button
                    android:id="@+id/button_ce"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:background="#0099ce"
                    android:layout_margin="0dip"
                    android:padding="0dip"
                    android:text="CE"
                    android:layout_weight="1"
                    android:textSize="28dip"/>
            <Button
                    android:id="@+id/button_c"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:background="#0099ce"
                    android:layout_margin="0dip"
                    android:padding="0dip"
                    android:text="C"
                    android:layout_weight="1"
                    android:textSize="28dip"/>
            <Button
                    android:id="@+id/button_negate"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:background="#0099ce"
                    android:layout_margin="0dip"
                    android:padding="0dip"
                    android:text="+/-"
                    android:layout_weight="1"
                    android:textSize="28dip"/>
            <Button
                    android:id="@+id/button_sqrt"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:background="#8000ff"
                    android:layout_margin="0dip"
                    android:padding="0dip"
                    android:text="Sqrt"
                    android:layout_weight="1"
                    android:textSize="28dip"/>
        </LinearLayout>
    </LinearLayout>
</LinearLayout>

```

In the code above I took out some part, because it is repetitive what changes is button ids and the color.

as you can see , there is an empty space which I want my buttons to fill the hall linear layout.
Thank you for your help