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.
tasks/res/layout/task_list_row.xml

39 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:id="@+id/row_layout"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:focusable="true"
android:background="@drawable/transparent_button"
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="wrap_content"
android:paddingLeft="5dip"/>
<ImageView android:id="@+id/image1"
android:gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:paddingLeft="5dip"/>
<TextView android:id="@+id/text1"
android:layout_height="?android:attr/listPreferredItemHeight"
android:layout_width="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:gravity="center_vertical"
android:paddingLeft="5dip"
android:singleLine="true"/>
<TextView android:id="@+id/text2"
android:layout_height="?android:attr/listPreferredItemHeight"
android:layout_width="fill_parent"
android:textAppearance="?android:attr/textAppearanceSmall"
android:gravity="center_vertical"
android:paddingLeft="15dip"
android:singleLine="true"/>
</LinearLayout>