11 lines
5.1 KiB
XML
11 lines
5.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup"
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||
|
<TextView android:textAppearance="@style/UiKit.SettingsHeaderTextAppearance" android:id="@id/payment_method_header" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/payment_method_title" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.0" app:layout_constraintVertical_chainStyle="packed" />
|
||
|
<ImageView android:id="@id/payment_method_icon" android:layout_width="32.0dip" android:layout_height="32.0dip" android:importantForAccessibility="no" 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_method_title" app:layout_constraintTop_toTopOf="@id/payment_method_title" app:layout_constraintVertical_bias="0.0" />
|
||
|
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/primary_100" android:ellipsize="end" android:id="@id/payment_method_title" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginStart="@dimen/uikit_spacing_medium" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/payment_method_subtext" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/payment_method_icon" app:layout_constraintRight_toLeftOf="@id/payment_method_invalid" app:layout_constraintTop_toBottomOf="@id/payment_method_header" app:layout_goneMarginTop="@dimen/uikit_spacing_large" style="@style/UiKit.TextView.SingleLine" />
|
||
|
<TextView android:textSize="12.0sp" android:textColor="@color/primary_100" android:id="@id/payment_method_invalid" android:background="@drawable/drawable_bg_payment_invalid_indicator" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/payment_source_invalid" android:textAllCaps="true" android:fontFamily="@font/whitney_semibold" android:layout_marginStart="@dimen/uikit_spacing_small" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/payment_method_subtext" app:layout_constraintLeft_toRightOf="@id/payment_method_title" app:layout_constraintRight_toLeftOf="@id/payment_method_premium" app:layout_constraintTop_toBottomOf="@id/payment_method_header" app:layout_goneMarginTop="@dimen/uikit_spacing_large" style="@style/UiKit.TextView.SingleLine" />
|
||
|
<ImageView android:id="@id/payment_method_premium" android:background="@drawable/drawable_bg_payment_premium_indicator" android:paddingRight="2.0dip" android:layout_width="24.0dip" android:layout_height="16.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:src="@drawable/ic_nitro_badge_white" android:contentDescription="@string/billing_payment_premium" android:layout_marginStart="@dimen/uikit_spacing_medium" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/payment_method_subtext" app:layout_constraintLeft_toRightOf="@id/payment_method_invalid" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/payment_method_header" app:layout_goneMarginTop="@dimen/uikit_spacing_large" style="@style/UiKit.ImageView" />
|
||
|
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/primary_400" android:id="@id/payment_method_subtext" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginStart="@dimen/uikit_spacing_medium" 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_method_icon" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/payment_method_title" app:layout_constraintVertical_bias="0.0" style="@style/UiKit.TextView" />
|
||
|
<View android:background="@color/primary_630" android:layout_marginTop="@dimen/uikit_spacing_large" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/payment_method_subtext" style="@style/UiKit.Divider.Thick" />
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|