Statistics
| Branch: | Revision:

root / res / layout / addtextfile.xml @ fee0d4aa

History | View | Annotate | Download (1.7 kB)

1 d3ea294b Adam Menz
<?xml version="1.0" encoding="utf-8"?>
2 d3ea294b Adam Menz
3 d3ea294b Adam Menz
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/RelativeLayout" android:layout_height="fill_parent" android:layout_width="fill_parent">
4 d3ea294b Adam Menz
    <TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:text="Filename" android:id="@+id/filename_textview" android:layout_marginLeft="22dip"></TextView>
5 fee0d4aa Adam Menz
    <EditText android:id="@+id/file_name_text" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_below="@+id/filename_textview" android:layout_marginLeft="22dip" android:layout_marginRight="30dip" android:lines="1" android:scrollHorizontally="true"></EditText>
6 d3ea294b Adam Menz
    <TextView android:layout_below="@+id/file_name_text" android:layout_height="wrap_content" android:id="@+id/file_contents_view" android:layout_width="wrap_content" android:text="File Content" android:layout_marginLeft="22dip"></TextView>
7 d3ea294b Adam Menz
    <EditText android:layout_width="fill_parent" android:id="@+id/new_file_text" android:layout_above="@+id/add_text_file_buttons" android:layout_height="fill_parent" android:layout_below="@+id/file_contents_view" android:layout_marginLeft="22dip" android:layout_marginRight="30dip" android:gravity="top"></EditText>
8 d3ea294b Adam Menz
    <LinearLayout android:layout_height="wrap_content" android:id="@+id/add_text_file_buttons" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_alignParentBottom="true">
9 d3ea294b Adam Menz
        <Button android:layout_height="wrap_content" android:text="Submit" android:id="@+id/new_file_button" android:layout_gravity="left" android:layout_width="100dip" android:layout_marginLeft="22dip" android:layout_marginTop="10dip"></Button>
10 d3ea294b Adam Menz
    </LinearLayout>
11 d3ea294b Adam Menz
12 d3ea294b Adam Menz
13 d3ea294b Adam Menz
</RelativeLayout>