12 lines
2.3 KiB
XML
12 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout android:background="@drawable/attach_background" android:layout_width="96.0dip" android:layout_height="72.0dip"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerInParent="true" android:layout_marginStart="8.0dip" android:layout_marginEnd="8.0dip">
|
|
<ImageView android:layout_gravity="center_horizontal" android:id="@id/attach_icon" android:layout_width="24.0dip" android:layout_height="24.0dip" />
|
|
<TextView android:textSize="12.0dip" android:textColor="#ffffffff" android:gravity="center" android:id="@id/attach_title" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:text="TextView" android:singleLine="true" android:fontFamily="@string/font_family_medium" />
|
|
<TextView android:textSize="12.0dip" android:textColor="#ffffffff" android:gravity="center" android:id="@id/attach_subtitle" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="TextView" android:singleLine="true" android:fontFamily="@string/font_family_medium" />
|
|
</LinearLayout>
|
|
<ProgressBar android:id="@id/attach_progress" android:layout_width="fill_parent" android:layout_height="fill_parent" android:indeterminate="false" android:indeterminateOnly="false" android:layout_centerInParent="true" />
|
|
<TextView android:textSize="15.0dip" android:textColor="#ffffffff" android:gravity="center" android:id="@id/attach_error" android:background="#50000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="1.0dip" android:layout_marginRight="1.0dip" android:layout_marginBottom="2.0dip" android:text="@string/error" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
|
|
<ImageView android:id="@id/attach_remove" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-8.5dip" android:layout_marginRight="-8.5dip" android:src="@drawable/ic_deattach_28" android:layout_alignParentTop="true" android:layout_alignParentRight="true" android:contentDescription="@string/vkim_accessibility_remove_attachment" />
|
|
</RelativeLayout> |