tangem-app-android-audited/tangem-sdk/src/main/res/layout/layout_touch_card.xml
2020-05-07 17:35:45 +03:00

70 lines
No EOL
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="400dp"
android:layout_height="250dp"
android:gravity="center_vertical|center_horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="100dp"
android:elevation="2dp"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/imSmartphone"
android:layout_width="75dp"
android:layout_height="150dp"
app:srcCompat="@drawable/smartphone" />
</LinearLayout>
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/llNfc"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="100dp"
android:elevation="1dp"
android:gravity="center"
android:orientation="vertical">
<com.skyfishjy.library.RippleBackground
android:id="@+id/rippleBackgroundNfc"
android:layout_width="150dp"
android:layout_height="150dp"
app:rb_color="@color/card_sdk_ripple"
app:rb_duration="3000"
app:rb_radius="16dp"
app:rb_rippleAmount="4"
app:rb_scale="4"
app:rb_strokeWidth="8dp"
app:rb_type="strokeRipple" />
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/llHand"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="25dp"
android:elevation="0dp"
android:gravity="center_vertical"
android:orientation="vertical">
<ImageView
android:id="@+id/ivHandCardHorizontal"
android:layout_width="190dp"
android:layout_height="wrap_content"
app:srcCompat="@drawable/hand_card_horizontal" />
<ImageView
android:id="@+id/ivHandCardVertical"
android:layout_width="190dp"
android:layout_height="wrap_content"
app:srcCompat="@drawable/hand_card_vertical" />
</androidx.appcompat.widget.LinearLayoutCompat>
</RelativeLayout>