10 lines
2.9 KiB
XML
10 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" app:cardBackgroundColor="?attr/colorBackgroundSecondary" app:cardCornerRadius="8dp" app:cardElevation="0dp">
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:padding="16dp" android:layout_width="match_parent" android:layout_height="match_parent">
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/giftPromoImage" android:layout_width="32dp" android:layout_height="32dp" android:layout_marginTop="4dp" android:importantForAccessibility="no" app:actualImageScaleType="2" app:backgroundImage="?attr/colorPromoLogoBackground" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:roundWithOverlayColor="?attr/colorBackgroundSecondary" app:roundedCornerRadius="4dp"/>
|
|
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/colorHeaderPrimary" android:id="@+id/giftPromoTitle" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" app:layout_constraintEnd_toStartOf="@+id/giftPromoButton" app:layout_constraintStart_toEndOf="@+id/giftPromoImage" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952579_uikit_textview_semibold"/>
|
|
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/giftPromoDescription" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constraintEnd_toEndOf="@+id/giftPromoTitle" app:layout_constraintStart_toStartOf="@+id/giftPromoTitle" app:layout_constraintTop_toBottomOf="@+id/giftPromoTitle" style="@style/res_2131952574_uikit_textview_medium"/>
|
|
<TextView android:id="@+id/giftPromoMoreDetails" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/more_details" app:layout_constraintEnd_toEndOf="@+id/giftPromoTitle" app:layout_constraintStart_toStartOf="@+id/giftPromoTitle" app:layout_constraintTop_toBottomOf="@+id/giftPromoDescription" style="@style/res_2131952572_uikit_textview_link"/>
|
|
<com.google.android.material.button.MaterialButton android:textSize="@dimen/uikit_textsize_small" android:id="@+id/giftPromoButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minWidth="0dp" android:minHeight="0dp" android:text="@string/promotion_card_action_claim" android:insetTop="0dp" android:insetBottom="0dp" android:paddingStart="12dp" android:paddingEnd="12dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952458_uikit_material_button"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|