<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_height="wrap_content"
    android:layout_width="match_parent"
    android:padding="15sp"
    android:clickable="true"
    android:focusable="true"
    android:id="@+id/transaction_row"
    android:foreground="?android:attr/selectableItemBackground"
    android:backgroundTint="@color/purple_200"
    android:background="@drawable/border">

    <TextView
        android:layout_width="wrap_content"
        android:paddingEnd="80sp"
        android:layout_height="wrap_content"
        android:textSize="20sp"
        android:paddingStart="10sp"
        tools:ignore="RtlSymmetry"
        android:maxLines="1"
        android:ellipsize="end"
        android:layout_alignParentStart="true"
        android:id="@+id/transacNameView"/>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textSize="20sp"
        android:paddingEnd="10sp"
        tools:ignore="RtlSymmetry"
        android:layout_alignParentEnd="true"
        android:id="@+id/transacAmountView"/>

</RelativeLayout>
