mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
3.2 KiB
XML
102 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- See the file "LICENSE" for the full license governing this code. -->
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:astrid="http://schemas.android.com/apk/res/com.timsu.astrid"
|
|
android:id="@+id/rowBody"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="70dip"
|
|
android:paddingBottom="4dip" >
|
|
|
|
<!-- completion check-box -->
|
|
|
|
<CheckBox
|
|
android:id="@+id/completeBox"
|
|
android:layout_width="45dip"
|
|
android:layout_height="fill_parent"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginLeft="10dip"
|
|
android:button="@drawable/btn_check" />
|
|
<!-- assignee photo -->
|
|
|
|
<LinearLayout
|
|
android:id="@+id/pictureContainer"
|
|
android:layout_width="58dip"
|
|
android:layout_height="54dip"
|
|
android:layout_marginLeft="5dip"
|
|
android:layout_marginTop="10dip"
|
|
android:padding="7dip"
|
|
android:paddingTop="9dip"
|
|
android:background="#111111"
|
|
>
|
|
<greendroid.widget.AsyncImageView
|
|
android:id="@+id/picture"
|
|
android:layout_width="35dip"
|
|
android:layout_height="35dip"
|
|
astrid:defaultSrc="@drawable/icn_default_person_image"
|
|
android:scaleType="fitCenter"
|
|
android:visibility="gone" >
|
|
|
|
|
|
</greendroid.widget.AsyncImageView>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/task_row"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_alignTop="@id/completeBox"
|
|
android:layout_toRightOf="@id/completeBox"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="5dip" >
|
|
|
|
<!-- task name -->
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
style="@style/TextAppearance.TAd_ItemTitle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="100"
|
|
android:gravity="center_vertical"
|
|
android:maxLines="2" />
|
|
|
|
<!-- due date -->
|
|
|
|
<TextView
|
|
android:id="@+id/dueDate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginRight="4dip"
|
|
android:gravity="center_vertical|right" />
|
|
</LinearLayout>
|
|
|
|
<!-- details line 1 -->
|
|
|
|
<TextView
|
|
android:id="@+id/details1"
|
|
style="@style/TextAppearance.TAd_ItemDetails"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignLeft="@id/task_row"
|
|
android:layout_below="@id/task_row"
|
|
android:layout_marginLeft="5dip"
|
|
android:layout_marginTop="-5dip"
|
|
android:visibility="gone" />
|
|
|
|
<!-- details line 2 -->
|
|
|
|
<TextView
|
|
android:id="@+id/details2"
|
|
style="@style/TextAppearance.TAd_ItemDetails"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignLeft="@id/task_row"
|
|
android:layout_below="@id/details1"
|
|
android:layout_marginLeft="5dip"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|