56 lines
2.1 KiB
XML
56 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:fresco="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="96.0dip"
|
|
android:layout_height="72.0dip">
|
|
|
|
<com.vk.imageloader.view.VKImageView
|
|
android:id="@id/attach_thumb"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
fresco:actualImageScaleType="centerCrop"
|
|
fresco:roundedCornerRadius="2.0dip" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_centerInParent="true"
|
|
android:background="@drawable/market_attach_edit_thumb"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:padding="4.0dip">
|
|
|
|
<TextView
|
|
android:id="@id/attach_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:gravity="center"
|
|
android:paddingBottom="2.0dip"
|
|
android:singleLine="true"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="12.0dip" />
|
|
|
|
<TextView
|
|
android:id="@id/attach_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:fontFamily="@string/font_family_medium"
|
|
android:gravity="center"
|
|
android:singleLine="true"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="12.0dip" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@id/attach_remove"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginTop="-8.5dip"
|
|
android:layout_marginRight="-8.5dip"
|
|
android:contentDescription="@string/vkim_accessibility_remove_attachment"
|
|
android:src="@drawable/ic_deattach_28" />
|
|
</RelativeLayout> |