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

113 lines
4.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<com.vtosters.lite.ui.ForegroundRelativeLayout 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="@dimen/sticker_list_holder_height"
android:paddingLeft="10.0dip"
android:paddingTop="6.0dip"
android:paddingRight="12.0dip"
android:paddingBottom="6.0dip"
app:foreground="@drawable/rounded_list_selector">
<com.vk.imageloader.view.VKImageView
android:id="@id/photo"
android:layout_width="68.0dip"
android:layout_height="68.0dip"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
app:actualImageScaleType="centerCrop"
app:placeholderImage="@drawable/sticker_placeholder" />
<com.vtosters.lite.ui.BadooTextView
android:id="@id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10.0dip"
android:layout_marginTop="13.5dip"
android:layout_toLeftOf="@id/sticker_buttons_container"
android:layout_toRightOf="@id/photo"
android:ellipsize="end"
android:singleLine="true"
android:textColor="?text_primary"
android:textSize="15.0sp"
app:typeface="Regular" />
<TextView
android:id="@id/subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_marginLeft="10.0dip"
android:layout_marginTop="1.3299866dip"
android:layout_marginBottom="9.5dip"
android:layout_toLeftOf="@id/sticker_buttons_container"
android:layout_toRightOf="@id/photo"
android:drawablePadding="10.0dip"
android:ellipsize="end"
android:singleLine="true"
android:textColor="?text_secondary"
android:textSize="12.0sp"
app:typeface="Regular" />
<ProgressBar
android:id="@id/sticker_progress"
android:layout_width="20.0dip"
android:layout_height="20.0dip"
android:layout_alignParentRight="true"
android:layout_gravity="center"
android:layout_marginLeft="12.0dip"
android:layout_marginTop="23.0dip"
android:indeterminate="false"
android:indeterminateOnly="false"
android:max="100" />
<FrameLayout
android:id="@id/sticker_buttons_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="12.0dip"
android:layout_marginTop="18.659973dip"
android:layout_toLeftOf="@id/sticker_gift">
<com.vtosters.lite.ui.BadooTextView
android:id="@id/sticker_button"
style="@style/VKUIButton.Green"
android:layout_height="30.0dip"
android:paddingTop="0.0dip"
android:paddingBottom="0.0dip"
app:typeface="Medium" />
<com.vtosters.lite.ui.BadooTextView
android:id="@id/sticker_ok"
style="@style/VKUIButton.Label"
android:layout_height="30.0dip"
android:enabled="false"
android:paddingTop="4.5dip"
android:paddingBottom="8.5dip"
android:textColor="@color/steel_gray_300"
app:typeface="Medium" />
</FrameLayout>
<ImageView
android:id="@id/sticker_gift"
android:layout_width="30.0dip"
android:layout_height="30.0dip"
android:layout_alignParentRight="true"
android:layout_marginLeft="6.0dip"
android:layout_marginTop="18.659973dip"
android:contentDescription="@string/accessibility_give_sticker_pack"
android:scaleType="centerInside" />
<ImageView
android:id="@id/sticker_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_gravity="center"
android:layout_marginLeft="12.0dip"
android:layout_marginTop="23.0dip"
android:paddingLeft="24.0dip"
android:paddingTop="2.0dip"
android:paddingBottom="2.0dip"
android:src="@drawable/ic_chats_error" />
</com.vtosters.lite.ui.ForegroundRelativeLayout>