Vehicle-Anti-Theft-Face-Rec.../UI/app/src/main/res/layout/driveritem.xml

54 lines
No EOL
2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
app:cardCornerRadius="2dp"
app:cardPreventCornerOverlap="true"
app:cardBackgroundColor="#00123456"
android:layout_marginRight="8dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="104dp"
android:layout_margin="1dp">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_toEndOf="@+id/imageView"
android:text="Line 1"
android:textColor="#ffffff"
android:textSize="20sp"
android:textStyle="bold" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView"
android:layout_marginStart="20dp"
android:layout_marginTop="0dp"
android:layout_toEndOf="@+id/imageView"
android:textColor="#ffffff"
android:text="Line 2"
android:textSize="15sp" />
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:textColor="#ffffff"
android:layout_toEndOf="@+id/imageView"
android:text="Line 3"
android:textSize="15sp" />
</RelativeLayout>
</androidx.cardview.widget.CardView>