apkfuckery/com.discord/res/layout/payment_source_view.xml
2019-03-16 03:02:59 +01:00

11 lines
No EOL
4.1 KiB
XML

<?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:layout_marginLeft="@dimen/uikit_spacing_medium" android:lineSpacingMultiplier="1.0" 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_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_xsmall" android:text="@string/payment_source_invalid" android:lineSpacingMultiplier="1.0" android:textAllCaps="true" android:fontFamily="@font/whitney_semibold" 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_marginLeft="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_xsmall" android:src="@drawable/ic_nitro_badge_white" android:contentDescription="@string/billing_payment_premium" 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="@dimen/uikit_spacing_medium" app:layout_goneMarginStart="@dimen/uikit_spacing_medium" style="@style/UiKit.ImageView" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_400" android:id="@id/payment_source_view_subtext" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:lineSpacingMultiplier="1.0" 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>