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

61 lines
2.3 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:orientation="horizontal"
android:paddingStart="@dimen/standard_list_item_padding"
android:paddingTop="8.0dip"
android:paddingEnd="4.0dip"
android:paddingBottom="8.0dip">
<com.vk.imageloader.view.VKImageView
android:id="@id/icon"
android:layout_width="48.0dip"
android:layout_height="48.0dip"
app:emptyImagePlaceholder="@drawable/placeholder_game_rounded"
app:placeholderImage="@drawable/default_placeholder_10"
app:roundedCornerRadius="10.0dip"
app:roundingBorderColor="?separator_alpha"
app:roundingBorderWidth="0.5dip" />
<LinearLayout
android:layout_width="0.0dip"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="12.0dip"
android:layout_marginEnd="4.0dip"
android:layout_weight="1.0"
android:orientation="vertical">
<TextView
android:id="@id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:fontFamily="sans-serif"
android:maxLines="1"
android:textColor="?text_primary"
android:textSize="16.0sp" />
<TextView
android:id="@id/desc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3.0dip"
android:ellipsize="end"
android:fontFamily="sans-serif"
android:maxLines="1"
android:textColor="?text_secondary"
android:textSize="14.0sp" />
</LinearLayout>
<ImageButton
android:id="@id/action_button"
android:layout_width="48.0dip"
android:layout_height="48.0dip"
android:background="@drawable/highlight_circle"
android:src="@drawable/ic_chevron_outline_28"
android:tint="?icon_outline_secondary" />
</LinearLayout>