apkfuckery/com.discord/res/layout/payment_source_view.xml

11 lines
4 KiB
XML
Raw Normal View History

2020-11-12 02:11:44 +00:00
<?xml version="1.0" encoding="utf-8"?>
<merge android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.cardview.widget.CardView android:id="@id/payment_source_view_icon_wrapper" android:layout_width="wrap_content" android:layout_height="wrap_content" app:cardCornerRadius="4.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/payment_source_view_title" app:layout_constraintTop_toTopOf="@id/payment_source_view_title" app:layout_constraintVertical_bias="0.0">
<ImageView android:id="@id/payment_source_view_icon" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
</androidx.cardview.widget.CardView>
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/primary_100" android:ellipsize="end" android:id="@id/payment_source_view_title" android:lineSpacingMultiplier="1.0" android:layout_marginStart="8.0dip" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/payment_source_view_subtext" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/payment_source_view_icon_wrapper" app:layout_constraintRight_toLeftOf="@id/payment_source_view_invalid" app:layout_constraintTop_toBottomOf="@id/payment_source_view_title" style="@style/UiKit.TextView.SingleLine" />
<TextView android:textSize="12.0sp" android:textColor="@color/primary_100" android:id="@id/payment_source_view_invalid" android:background="@drawable/drawable_bg_payment_invalid_indicator" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:layout_height="18.0dip" android:layout_marginTop="2.0dip" android:text="@string/payment_source_invalid" android:lineSpacingMultiplier="1.0" android:textAllCaps="true" android:fontFamily="@font/whitney_semibold" android:layout_marginStart="8.0dip" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="@id/payment_source_view_title" app:layout_constraintLeft_toRightOf="@id/payment_source_view_title" app:layout_constraintRight_toLeftOf="@id/payment_source_view_premium" app:layout_constraintTop_toTopOf="@id/payment_source_view_title" style="@style/UiKit.TextView.SingleLine" />
<ImageView android:id="@id/payment_source_view_premium" android:background="@drawable/drawable_bg_payment_premium_indicator" android:paddingRight="2.0dip" android:layout_width="24.0dip" android:layout_height="18.0dip" android:layout_marginTop="2.0dip" android:src="@drawable/ic_nitro_badge_white" android:contentDescription="@string/billing_payment_premium" android:layout_marginStart="4.0dip" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="@id/payment_source_view_title" app:layout_constraintLeft_toRightOf="@id/payment_source_view_invalid" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="@id/payment_source_view_title" app:layout_goneMarginLeft="8.0dip" app:layout_goneMarginStart="8.0dip" style="@style/UiKit.ImageView" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_400" android:id="@id/payment_source_view_subtext" android:lineSpacingMultiplier="1.0" android:layout_marginStart="8.0dip" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/payment_source_view_icon_wrapper" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/payment_source_view_title" app:layout_constraintVertical_bias="0.0" style="@style/UiKit.TextView" />
</merge>