108 lines
No EOL
3.7 KiB
XML
108 lines
No EOL
3.7 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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="400dp"
|
|
android:layout_height="250dp"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
tools:ignore="contentDescription"
|
|
tools:showIn="@layout/activity_main">
|
|
|
|
<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/fab"
|
|
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
|
|
android:id="@+id/rlProgressBar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:elevation="10dp"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:alpha="0.75"
|
|
android:background="@color/white" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvProgressBar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:alpha="1"
|
|
android:text="@string/general_status_reading"
|
|
android:textColor="@color/colorPrimary"
|
|
android:textSize="12dp"
|
|
android:textStyle="bold" />
|
|
|
|
<ProgressBar
|
|
android:layout_width="@dimen/size_progress_bar_big"
|
|
android:layout_height="@dimen/size_progress_bar_big"
|
|
android:layout_centerInParent="true"
|
|
android:alpha="1"
|
|
android:elevation="1dp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout> |