Files
vtosters/smali/res/layout/menu_fragment_extra_item.xml
T
2022-06-19 13:11:07 +03:00

57 lines
2.1 KiB
XML

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