채팅프로그램을 만들고 있는데요 메시지를 입력할려고 edittext를 누르믄 키판이 올라오믄 리니어레이아웃부분 텍스트뷰 두개 아이디랑 별명 nicknme 부분이 줄어들면서 이전 버튼까지 반으로 줄어들면서 안에 텍스트가 반쯤보이네요 이거 어떡해 하면 해결할수 있을까요..ㅠ

 

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="10dip" android:layout_weight="0.5">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:gravity="center_vertical|center_horizontal" android:text="쪽지"/>

        <Button
            android:id="@+id/Chat_Btn_Back"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:text="이전" android:layout_gravity="left"/>

    </FrameLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="0dip"
        android:layout_weight="1.5" >

        <ImageView
            android:id="@+id/Chat_IV_Profile"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_weight="3"
            android:layout_gravity="center_vertical|center_horizontal"/>

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_weight="5"
            android:orientation="vertical" android:layout_gravity="center_vertical|center_horizontal">

            <TextView
                android:id="@+id/Chat_TextView_ID"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical|center_horizontal" android:layout_weight="4" android:textSize="30px"/>

            <TextView
                android:id="@+id/Chat_TextView_NickName"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical|center_horizontal" android:layout_weight="4" android:textSize="30px"/>
        </LinearLayout>
    </LinearLayout>
       
       
    <ListView
        android:id="@+id/Chat_ListView_Chat"
        android:layout_width="match_parent"
        android:layout_height="0dip" android:layout_weight="6.5" android:transcriptMode="alwaysScroll">
    </ListView>

    <LinearLayout
        android:id="@+id/linearLayout1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_weight="0.5" >

        <EditText
            android:id="@+id/Chat_EditText_Input"
            android:layout_width="0dip"
            android:layout_height="match_parent"
            android:layout_weight="8" android:hint="메세지를 입력해주세요">

            <requestFocus />
        </EditText>

        <ToggleButton
            android:id="@+id/Chat_ToggleBtn_AttachFile"
            android:layout_width="0dip"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:textOff=""
            android:textOn="" android:checked="false"/>

        <Button
            android:id="@+id/Chat_Btn_Send"
            android:layout_width="0dip"
            android:layout_height="match_parent"
            android:layout_weight="2" android:text="전송"/>

    </LinearLayout>

</LinearLayout>