119 lines
4.5 KiB
XML
119 lines
4.5 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="wrap_content"
|
|
android:layout_marginRight="6.0dip"
|
|
app:foreground="@drawable/rounded_list_selector">
|
|
|
|
<com.vk.imageloader.view.VKImageView
|
|
android:id="@id/photo"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="188.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_below="@id/photo"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginLeft="10.0dip"
|
|
android:layout_marginTop="7.5dip"
|
|
android:layout_toLeftOf="@id/sticker_btn_wrap"
|
|
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_alignRight="@id/title"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginLeft="10.0dip"
|
|
android:layout_marginTop="-1.0dip"
|
|
android:layout_marginBottom="9.5dip"
|
|
android:drawablePadding="10.0dip"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:textColor="?text_secondary"
|
|
android:textSize="12.0sp"
|
|
app:typeface="Regular" />
|
|
|
|
<FrameLayout
|
|
android:id="@id/sticker_btn_wrap"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/photo"
|
|
android:layout_toLeftOf="@id/sticker_gift"
|
|
android:background="@android:color/transparent"
|
|
android:paddingLeft="12.0dip"
|
|
android:paddingTop="12.0dip"
|
|
android:paddingBottom="12.0dip">
|
|
|
|
<com.vtosters.lite.ui.BadooTextView
|
|
android:id="@id/sticker_button"
|
|
style="@style/VKUIButton.Green"
|
|
android:layout_height="30.0dip"
|
|
android:paddingTop="4.5dip"
|
|
android:paddingBottom="8.5dip"
|
|
app:typeface="Medium" />
|
|
|
|
<ProgressBar
|
|
android:id="@id/sticker_progress"
|
|
android:layout_width="20.0dip"
|
|
android:layout_height="20.0dip"
|
|
android:layout_gravity="center"
|
|
android:indeterminate="false"
|
|
android:indeterminateOnly="false"
|
|
android:max="100" />
|
|
|
|
<com.vtosters.lite.ui.BadooTextView
|
|
android:id="@id/sticker_ok"
|
|
style="@style/VKUIButton.Label"
|
|
android:layout_height="30.0dip"
|
|
android:enabled="false"
|
|
android:paddingTop="0.0dip"
|
|
android:paddingBottom="0.0dip"
|
|
android:textColor="@color/steel_gray_300"
|
|
app:typeface="Medium" />
|
|
|
|
<ImageView
|
|
android:id="@id/sticker_error"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:paddingLeft="12.0dip"
|
|
android:paddingRight="12.0dip"
|
|
android:src="@drawable/ic_chats_error" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@id/sticker_gift_wrapper"
|
|
android:layout_width="56.0dip"
|
|
android:layout_height="56.0dip"
|
|
android:layout_below="@id/photo"
|
|
android:layout_alignParentRight="true"
|
|
android:background="@android:color/transparent"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
<ImageView
|
|
android:id="@id/sticker_gift"
|
|
android:layout_width="30.0dip"
|
|
android:layout_height="30.0dip"
|
|
android:layout_below="@id/photo"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginLeft="6.0dip"
|
|
android:layout_marginTop="12.0dip"
|
|
android:layout_marginRight="12.0dip"
|
|
android:contentDescription="@string/accessibility_give_sticker_pack"
|
|
android:scaleType="centerInside" />
|
|
</com.vtosters.lite.ui.ForegroundRelativeLayout> |