UNPKG

react-native-adyen-payment

Version:
66 lines (62 loc) 2.68 kB
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2019 Adyen N.V. ~ ~ This file is open source and available under the MIT license. See the LICENSE file for more info. ~ ~ Created by arman on 29/7/2019. --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?selectableItemBackground" android:clickable="true" android:focusable="true" android:orientation="horizontal" android:paddingStart="@dimen/standard_margin" android:paddingLeft="@dimen/standard_margin" android:paddingTop="@dimen/standard_three_quarters_margin" android:paddingEnd="@dimen/standard_margin" android:paddingRight="@dimen/standard_margin" android:paddingBottom="@dimen/standard_three_quarters_margin"> <com.adyen.checkout.base.ui.view.RoundCornerImageView android:id="@+id/imageView_logo" android:layout_width="@dimen/logo_width" android:layout_height="@dimen/logo_height" android:layout_gravity="center" android:layout_marginEnd="@dimen/standard_margin" android:layout_marginRight="@dimen/standard_margin" android:contentDescription="@null" android:maxHeight="@dimen/logo_width" android:minHeight="@dimen/logo_height" android:scaleType="fitCenter" android:src="@drawable/ic_placeholder_image" app:strokeColor="@color/stroke_color"/> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:orientation="vertical"> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/textView_text" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_weight="1" android:maxHeight="@dimen/logo_width" android:textColor="@color/textColor" android:textSize="16sp" tools:text="Test"/> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/textView_detail" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_weight="1" android:maxHeight="@dimen/logo_width" android:textSize="12sp" tools:text="Test"/> </LinearLayout> </LinearLayout>