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

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content" >

        <ImageButton
            android:id="@+id/cmdNew"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:contentDescription="@string/newFile"
            android:onClick="cmdNewOnClick"
            android:src="?newIcon" />

        <ImageButton
            android:id="@+id/cmdOpen"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:contentDescription="@string/open"
            android:onClick="cmdOpenOnClick"
            android:src="?openIcon" />

        <ImageButton
            android:id="@+id/cmdSave"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:contentDescription="@string/save"
            android:onClick="cmdSaveOnClick"
            android:src="?saveIcon" />

        <View
            android:layout_width="0dp"
            android:layout_height="5dp"
            android:layout_gravity="center"
            android:layout_weight="1" />

        <ImageButton
            android:id="@+id/cmdDatapathHelp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:contentDescription="@string/help"
            android:onClick="cmdCodeHelpOnClick"
            android:src="?helpIcon" />

    </LinearLayout>

    <TextView
        android:id="@+id/lblFilename"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:ellipsize="end"
        android:gravity="center"
        android:clickable="true"
        android:onClick="lblFilenameOnClick"
        android:singleLine="true"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:textStyle="italic" />

    <EditText
        android:id="@+id/txtCode"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:ems="10"
        android:gravity="top"
        android:inputType="textMultiLine|textNoSuggestions"
        android:scrollbarAlwaysDrawVerticalTrack="true"
        android:scrollbars="vertical"
        android:typeface="monospace" >

        <requestFocus />
    </EditText>

</LinearLayout>