Files
vtosters/smali/res/layout/attach_pretty_card_item.xml
T
gdlbo b50f56a5d4 Oh, fixes?
-Added styles list for dark and light themes
-Updated libs
-Auto refactored resources for easy editing
-Improved amoled theme
2022-04-23 21:36:08 +03:00

86 lines
3.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical"
android:id="@id/container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout
android:layout_width="224.0dip"
android:layout_height="224.0dip">
<com.vk.imageloader.view.VKSnippetImageView
android:id="@id/image"
android:layout_width="224.0dip"
android:layout_height="224.0dip"
android:scaleType="centerCrop" />
<View
android:background="@drawable/attach_pretty_cards_image_bg"
android:layout_width="224.0dip"
android:layout_height="224.0dip" />
</FrameLayout>
<LinearLayout
android:orientation="vertical"
android:background="@drawable/attach_pretty_cards_bottom_bg"
android:paddingBottom="12.0dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:textSize="14.0sp"
android:textColor="?text_muted"
android:ellipsize="end"
android:id="@id/title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="12.0dip"
android:layout_marginTop="10.0dip"
android:layout_marginRight="12.0dip"
android:maxLines="1"
android:fontFamily="@string/font_family_medium"
android:layout_marginStart="12.0dip"
android:layout_marginEnd="12.0dip" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="12.0dip"
android:layout_marginTop="3.0dip"
android:layout_marginRight="12.0dip"
android:layout_marginStart="12.0dip"
android:layout_marginEnd="12.0dip">
<TextView
android:textSize="13.0sp"
android:textColor="?text_tertiary"
android:ellipsize="end"
android:id="@id/old_price"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:layout_marginEnd="8.0dip" />
<TextView
android:textSize="13.0sp"
android:textColor="?text_subhead"
android:ellipsize="end"
android:id="@id/price"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1" />
</LinearLayout>
<TextView
android:ellipsize="end"
android:layout_gravity="center_horizontal"
android:id="@id/ads_button"
android:layout_width="200.0dip"
android:layout_height="wrap_content"
android:layout_marginTop="10.0dip"
android:maxLines="1"
style="@style/outline_button" />
</LinearLayout>
</LinearLayout>