Files
vtosters/smali/res/layout/menu_fragment_extra_item.xml
T
2022-03-24 19:37:43 +03:00

10 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="@drawable/rounded_list_selector" android:paddingLeft="16.0dip" android:paddingTop="8.0dip" android:paddingRight="4.0dip" android:paddingBottom="8.0dip" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:weightSum="1.0"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.vk.imageloader.view.VKCircleImageView android:id="@id/photo" android:visibility="visible" android:layout_width="@dimen/small_photo_size" android:layout_height="@dimen/small_photo_size" android:scaleType="centerCrop" app:placeholderImage="@drawable/placeholder_user_48" actualImageScaleType="centerCrop" />
<LinearLayout android:orientation="vertical" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textSize="16.0dip" android:textColor="?text_primary" android:id="@id/title" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2.0dip" />
<TextView android:textSize="14.0dip" android:textColor="?text_secondary" android:id="@id/subtitle" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
<ImageButton android:id="@id/send_gift" android:background="@drawable/highlight_circle" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_gift_24" android:tint="?accent" />
</LinearLayout>