Files
2022-06-19 13:11:07 +03:00

99 lines
3.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="12.0dip">
<com.vk.imageloader.view.VKCircleImageView
android:id="@id/photo"
android:layout_width="48.0dip"
android:layout_height="48.0dip"
android:layout_alignParentLeft="true"
android:layout_marginLeft="@dimen/post_side_padding"
android:layout_marginTop="14.0dip"
android:layout_marginRight="12.0dip"
android:layout_marginBottom="14.0dip"
app:placeholderImage="@drawable/user_placeholder" />
<com.vtosters.lite.ui.BadooTextView
android:id="@id/username"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16.5dip"
android:layout_marginRight="7.0dip"
android:layout_toLeftOf="@id/actions"
android:layout_toRightOf="@id/photo"
android:ellipsize="marquee"
android:singleLine="true"
android:textColor="?accent"
android:textSize="15.0dip"
app:typeface="Medium" />
<TextView
android:id="@id/date"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/username"
android:layout_alignLeft="@id/username"
android:layout_marginTop="1.0dip"
android:layout_toLeftOf="@id/actions"
android:singleLine="true"
android:textColor="?text_secondary"
android:textSize="14.0dip" />
<ImageView
android:id="@id/actions"
style="@style/UserMediumAction"
android:layout_alignParentTop="true"
android:layout_marginLeft="@dimen/post_side_padding_menu"
android:layout_marginTop="4.0dip"
android:layout_marginRight="@dimen/post_side_padding_btn"
android:contentDescription="@string/accessibility_actions"
android:src="@drawable/ic_more_vertical_24"
android:tint="?icon_tertiary" />
<FrameLayout
android:id="@id/photo_wrap"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/photo"
android:layout_centerHorizontal="true"
android:layout_marginBottom="4.0dip"
android:background="@drawable/bg_gift_card"
android:padding="8.0dip">
<com.vk.imageloader.view.VKImageView
android:id="@id/gift"
android:layout_width="176.0dip"
android:layout_height="176.0dip" />
</FrameLayout>
<TextView
android:id="@id/title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/photo_wrap"
android:layout_marginLeft="@dimen/post_side_padding"
android:layout_marginTop="6.0dip"
android:layout_marginRight="@dimen/post_side_padding"
android:layout_marginBottom="5.0dip"
android:gravity="center"
android:lineSpacingExtra="4.299988dip"
android:textColor="?text_muted"
android:textSize="15.0dip" />
<TextView
android:id="@id/subtitle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_marginLeft="@dimen/post_side_padding"
android:layout_marginTop="-2.3299866dip"
android:layout_marginRight="@dimen/post_side_padding"
android:layout_marginBottom="5.0dip"
android:gravity="center"
android:text="@string/gifts_owner_privacy"
android:textColor="?text_secondary"
android:textSize="14.0dip" />
</RelativeLayout>