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/astrid/res/layout/file_row.xml

45 lines
1.6 KiB
XML

<?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:gravity="center_vertical"
android:orientation="horizontal" >
<TextView
android:id="@+id/file_text"
android:layout_width="fill_parent"
android:layout_height="40dip"
android:layout_marginTop="5dip"
android:layout_marginBottom="5dip"
android:layout_marginLeft="10dip"
android:paddingRight="5dip"
android:paddingLeft="3dip"
android:layout_weight="1"
android:textAppearance="@style/TextAppearance.EditRowDisplay"
android:gravity="left|center_vertical"/>
<TextView
android:id="@+id/file_type"
android:minWidth="37dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/file_type_background"
android:layout_marginLeft="5dip"
android:layout_marginRight="5dip"
android:paddingLeft="4dip"
android:paddingRight="4dip"
android:gravity="center"
android:textColor="?attr/asTextColorInverse"/>
<ImageView
android:id="@+id/remove_file"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_menu_close"
android:layout_marginLeft="-5dip"
android:layout_marginRight="5dip"
android:visibility="gone"/>
</LinearLayout>