|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
** Copyright (c) 2012 Todoroo Inc
|
|
|
|
**
|
|
|
|
** See the file "LICENSE" for the full license governing this code.
|
|
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:astrid="http://schemas.android.com/apk/res/com.timsu.astrid"
|
|
|
|
style="@style/Content_EditScroll"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_weight="100"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/edit_scroll"
|
|
|
|
style="@style/Content_EditScroll"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_weight="100" >
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/task_rabbit_parent"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:background="#00000000"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="10dip" >
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/task_type"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/title_controls"
|
|
|
|
style="@style/EditRow"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<com.todoroo.astrid.ui.ErrorCatchingEditText
|
|
|
|
android:id="@+id/task_title"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="100"
|
|
|
|
android:autoText="true"
|
|
|
|
android:background="@drawable/edit_title_background"
|
|
|
|
android:capitalize="sentences"
|
|
|
|
android:freezesText="true"
|
|
|
|
android:hint="@string/TEA_title_hint"
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:paddingLeft="5dip"
|
|
|
|
android:paddingTop="3dip"
|
|
|
|
android:scrollbars="vertical"
|
|
|
|
android:text=""
|
|
|
|
android:textColor="@android:color/black" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/task_controls"
|
|
|
|
style="@style/EditRow"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="10dip"
|
|
|
|
android:orientation="vertical" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/description_controls"
|
|
|
|
style="@style/EditRow"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="10dip"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/task_button"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="5dip"
|
|
|
|
android:text="Post Task!" />
|
|
|
|
|
|
|
|
</LinearLayout>
|