mirror of https://github.com/tasks/tasks
Removed lots of old taskrabbit code
parent
1171dee9db
commit
2d81721284
@ -1,88 +0,0 @@
|
||||
<?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>
|
@ -1,43 +0,0 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/menu_nav"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_margin="5dip"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="5dip"
|
||||
android:paddingRight="5dip" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/task_rabbit_title"
|
||||
style="@style/TextAppearance.ActionBar_ListsHeader"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="@string/BFE_Active" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/menu_disclosure_arrow"
|
||||
android:layout_width="12dip"
|
||||
android:layout_height="12dip"
|
||||
android:layout_alignBottom="@id/task_rabbit_title"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_toRightOf="@id/task_rabbit_title"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="?attr/asListsDisclosure" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
@ -1,36 +0,0 @@
|
||||
<?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"
|
||||
android:id="@+id/task_rabbit_map_parent"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical"
|
||||
style="@style/Content_EditScroll" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:minHeight="50dip" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/search_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
android:minHeight="50dip"
|
||||
android:hint="Enter address"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/search_button"
|
||||
android:layout_width="50dip"
|
||||
android:layout_height="50dip"
|
||||
android:layout_weight="1"
|
||||
android:scaleType="center" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
** Copyright (c) 2012 Todoroo Inc
|
||||
**
|
||||
** See the file "LICENSE" for the full license governing this code.
|
||||
-->
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dip">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/content"
|
||||
android:layout_width="280dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/asListPopoverBg"
|
||||
android:layout_below="@+id/gdi_arrow_up"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/gdi_arrow_up"
|
||||
android:layout_width="27dip"
|
||||
android:layout_height="27dip"
|
||||
android:scaleType="fitCenter"
|
||||
android:layout_marginBottom="-8dip"
|
||||
android:src="@drawable/list_arrow_up" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/gdi_arrow_down"
|
||||
android:layout_width="27dip"
|
||||
android:layout_height="27dip"
|
||||
android:scaleType="fitCenter"
|
||||
android:layout_marginBottom="-8dip"
|
||||
android:layout_below="@android:id/list"
|
||||
android:src="@drawable/list_arrow_down" />
|
||||
|
||||
</RelativeLayout>
|
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
** Copyright (c) 2012 Todoroo Inc
|
||||
**
|
||||
** See the file "LICENSE" for the full license governing this code.
|
||||
-->
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/TextAppearance.FLA_Filter"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:gravity="left|center_vertical"
|
||||
android:padding="10dp"
|
||||
android:paddingBottom="5dip"
|
||||
android:paddingRight="6dip"
|
||||
android:paddingTop="5dip"
|
||||
|
||||
android:textSize="16sp" >
|
||||
|
||||
</TextView>
|
@ -1,46 +0,0 @@
|
||||
<?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"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/display_row_body"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="50dip"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="10dip" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/display_row_title"
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dip" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/display_row_edit"
|
||||
style="@style/TextAppearance.EditRowDisplay"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="right"
|
||||
android:maxLines="2"
|
||||
android:paddingLeft="5dip" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/TEA_Separator"
|
||||
style="@style/TEA_Separator"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1px" />
|
||||
|
||||
</LinearLayout>
|
@ -1,65 +0,0 @@
|
||||
<?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"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/display_row_body"
|
||||
android:minHeight="50dip"
|
||||
android:padding="10dip" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/display_row_title"
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="50dip"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="10dip" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/picture"
|
||||
android:layout_width="40dip"
|
||||
android:layout_height="40dip"
|
||||
android:background="#00000000"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_marginRight="10dip"
|
||||
android:src="@drawable/camera_button" />
|
||||
<!-- Voice Add Note Button -->
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/voiceAddNoteButton"
|
||||
android:layout_width="40dip"
|
||||
android:layout_height="40dip"
|
||||
android:background="#00000000"
|
||||
android:layout_marginRight="10dip"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@android:drawable/ic_btn_speak_now"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/display_row_edit"
|
||||
style="@style/TextAppearance.EditRowDisplay"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="top"
|
||||
android:gravity="left"
|
||||
android:text="Enter description..."
|
||||
android:paddingLeft="5dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:layout_marginBottom="10dip" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
@ -1,51 +0,0 @@
|
||||
<?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"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/display_row_body"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="50dip"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="5dip" >
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinner"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="0dip" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/display_row_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextAppearance.GEN_EditLabel" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/display_row_edit"
|
||||
style="@style/TextAppearance.EditRowDisplay"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="right"
|
||||
android:maxLines="2"
|
||||
android:paddingLeft="5dip" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/TEA_Separator"
|
||||
style="@style/TEA_Separator"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1px" />
|
||||
|
||||
</LinearLayout>
|
Loading…
Reference in New Issue