|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
ASTRID: Android's Simple Task Recording Dashboard
|
|
|
|
|
|
|
|
Copyright (c) 2009 Tim Su
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful, but
|
|
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
|
|
|
-->
|
|
|
|
<LinearLayout android:id="@+id/row_layout"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:focusable="true"
|
|
|
|
android:background="@android:drawable/list_selector_background"
|
|
|
|
android:padding="6dip"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<CheckBox android:id="@+id/cb1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:drawingCacheQuality="low"
|
|
|
|
android:minWidth="41px" />
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/imageLeft"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:drawingCacheQuality="low"
|
|
|
|
android:paddingLeft="5dip"/>
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/text_layout"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="5dip"
|
|
|
|
android:layout_weight="1.0"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView android:id="@+id/text1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
style="@style/TextAppearance.TaskList_Task"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:singleLine="true"/>
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/prop_layout"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView android:id="@+id/text_dueDate"
|
|
|
|
android:gravity="top"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
style="@style/TextAppearance.TaskList_Detail"
|
|
|
|
android:textColor="@color/taskList_dueDate"
|
|
|
|
android:paddingRight="10dip"
|
|
|
|
android:singleLine="true"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/text_remainingTime"
|
|
|
|
android:gravity="top"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
style="@style/TextAppearance.TaskList_Detail"
|
|
|
|
android:textColor="@color/taskList_remainingTime"
|
|
|
|
android:paddingRight="10dip"
|
|
|
|
android:singleLine="true"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/text_tags"
|
|
|
|
android:gravity="top"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
style="@style/TextAppearance.TaskList_Detail"
|
|
|
|
android:textColor="@color/taskList_tags"
|
|
|
|
android:paddingRight="15dip"
|
|
|
|
android:singleLine="true"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/imageRight"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_width="24px"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:drawingCacheQuality="low"
|
|
|
|
android:paddingLeft="6dip"
|
|
|
|
android:paddingRight="4dip"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|