mirror of https://github.com/tasks/tasks
parent
168d02b375
commit
145d9e4da8
@ -0,0 +1,77 @@
|
||||
<?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/org.tasks"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="55dip"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:drawable/list_selector_background"
|
||||
android:paddingTop="5dip"
|
||||
android:paddingBottom="5dip"
|
||||
android:paddingLeft="6dip"
|
||||
android:paddingRight="6dip">
|
||||
|
||||
<!-- title -->
|
||||
<TextView android:id="@+id/title"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:paddingLeft="5dip"
|
||||
android:paddingRight="3dip"
|
||||
style="@style/TextAppearance.TAd_ItemTitle"
|
||||
android:textSize="16sp"/>
|
||||
|
||||
|
||||
<!-- activity date -->
|
||||
<TextView android:id="@+id/date"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/title"
|
||||
android:layout_alignLeft="@id/title"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:paddingTop="1dip"
|
||||
style="@style/TextAppearance.TAd_ItemDueDate"
|
||||
android:textStyle="normal"
|
||||
android:gravity="left"
|
||||
android:ellipsize="end"
|
||||
android:textSize="12sp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
|
||||
<!-- picture -->
|
||||
<com.todoroo.astrid.helper.AsyncImageView android:id="@+id/comment_picture"
|
||||
android:layout_width="100dip"
|
||||
android:layout_height="100dip"
|
||||
android:layout_below="@id/date"
|
||||
android:paddingTop="5dip"
|
||||
astrid:defaultSrc="@drawable/icn_default_person_image"
|
||||
android:scaleType="fitStart"
|
||||
android:layout_marginLeft="50dip"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<!-- picture -->
|
||||
<com.todoroo.astrid.helper.AsyncImageView
|
||||
android:id="@+id/comment_picture"
|
||||
android:layout_width="50dip"
|
||||
android:layout_height="50dip"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:layout_marginBottom="4dip"
|
||||
android:visibility="gone"
|
||||
astrid:defaultSrc="@android:drawable/ic_menu_gallery"
|
||||
android:scaleType="fitCenter"/>
|
||||
|
||||
</LinearLayout>
|
Loading…
Reference in New Issue