<LinearLayout 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:orientation="vertical"
    tools:context=".BluetoothChat" >
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="fill_parent"
        android:layout_weight="1"
        android:orientation="horizontal" >        
        <ListView
            android:layout_width="fill_parent"
            android:layout_weight="1"
            android:id="@+id/in"
            android:layout_height="match_parent"
            android:stackFromBottom="true"
            android:transcriptMode="alwaysScroll" />
        <ListView
            android:layout_width="fill_parent"
            android:layout_weight="1"
            android:id="@+id/predefined_messages"
            android:layout_height="match_parent"      
            android:transcriptMode="alwaysScroll" />
        
	</LinearLayout>
	<LinearLayout
	    android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal" >
        <Button
            android:id="@+id/button_take_picture"
          	android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:layout_gravity="bottom"
            android:text="@string/take_picture" />
        <EditText
            android:id="@+id/edit_text_out"
          	android:layout_width="wrap_content"
          	android:layout_height="fill_parent"
          	android:layout_gravity="bottom"
          	android:layout_weight="1" />
        <Button
            android:id="@+id/button_send"
          	android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:layout_gravity="bottom"
            android:text="@string/send" />
	</LinearLayout>
</LinearLayout>
<!--
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:layout_margin="1dp"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".MainActivity$CommunicationSectionFragment" >

    <TextView
        android:id="@+id/section_label"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />


</LinearLayout>
-->