discord-jadx/app/src/main/res/layout/view_gift_outbound_promo_list_item.xml
Juby210 02b39b5eaf
Enable replacing const values in jadx
Tracking changes should be much easier now.
2021-08-10 00:50:52 +02:00

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/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/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/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/UiKit_Material_Button"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>