How to set weight for included layouts?
Keep your included layout in a container and set weight attribute to that container only.
This is your updated layout
<?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:background="#eaedf2"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" >
<include
android:layout_height="match_parent"
android:layout_width="match_parent"
layout="@layout/header" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_margin="30dp"
android:layout_weight="1"
android:orientation="vertical" >
<EditText
android:id="@+id/editText1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:editable="false"
android:ems="10"
android:hint="Country"
android:textColor="#655e5e"
android:textSize="15sp" >
<requestFocus />
</EditText>
<EditText
android:id="@+id/editText2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:editable="false"
android:ems="10"
android:hint="State"
android:textColor="#655e5e"
android:textSize="15sp" />
<EditText
android:id="@+id/editText3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:editable="false"
android:ems="10"
android:hint="Place Keyword"
android:textColor="#655e5e"
android:textSize="15sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" >
<include
android:layout_height="match_parent"
android:layout_width="match_parent"
layout="@layout/footer" />
</LinearLayout>
</LinearLayout>