<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/country_list_item"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingTop="@dimen/keyline_1"
    android:paddingBottom="@dimen/keyline_1"
    tools:ignore="RtlSymmetry">

    <TextView
        android:id="@+id/state_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:paddingStart="@dimen/keyline_4"
        android:layout_marginEnd="@dimen/space_24"
        android:paddingEnd="@dimen/space_24"
        android:singleLine="false"
        android:gravity="start"
        android:text="@string/country_region_name_au"
        android:textSize="16sp"
        android:maxLines="2"
        android:textAlignment="viewStart"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <TextView
        android:id="@+id/state_code"
        android:layout_width="wrap_content"
        android:layout_height="21dp"
        android:text="+61"
        android:textSize="14sp"
        android:textAlignment="viewStart"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/state_name"
        android:visibility="gone"/>

    <ImageView
        android:id="@+id/img_state_select"
        android:layout_width="20dp"
        android:layout_height="19dp"
        android:layout_marginTop="@dimen/keyline_1"
        android:layout_marginEnd="@dimen/space_4"
        android:src="@drawable/ic_check"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintLeft_toRightOf="@+id/state_name"
        app:layout_constraintTop_toTopOf="@+id/state_name"
        android:visibility="gone"/>

    <View
        android:id="@+id/end_line"
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="@color/grey4"
        android:layout_marginTop="@dimen/space_12"
        app:layout_constraintTop_toBottomOf="@+id/state_name"/>

</androidx.constraintlayout.widget.ConstraintLayout>