<?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/dialpad_holder"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:focusableInTouchMode="true"
    android:layoutDirection="ltr"
    android:paddingStart="@dimen/medium_margin"
    android:paddingTop="@dimen/medium_margin"
    android:paddingEnd="@dimen/medium_margin"
    tools:ignore="HardcodedText">

    <RelativeLayout
        android:id="@+id/dialpad_1_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:contentDescription="@string/one"
        app:layout_constraintBottom_toBottomOf="@+id/dialpad_2_holder"
        app:layout_constraintEnd_toStartOf="@+id/dialpad_2_holder"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="@+id/dialpad_2_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_1"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentTop="true"
            android:text="1" />

    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_2_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/medium_margin"
        android:contentDescription="@string/two"
        app:layout_constraintBottom_toTopOf="@+id/dialpad_5_holder"
        app:layout_constraintEnd_toStartOf="@+id/dialpad_3_holder"
        app:layout_constraintStart_toEndOf="@+id/dialpad_1_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_2"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="2" />

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_2_letters"
            style="@style/DialpadLetterStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/dialpad_2"
            android:layout_marginBottom="@dimen/small_margin"
            android:text="ABC" />
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_3_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:contentDescription="@string/three"
        app:layout_constraintBottom_toBottomOf="@+id/dialpad_2_holder"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toEndOf="@+id/dialpad_2_holder"
        app:layout_constraintTop_toTopOf="@+id/dialpad_2_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_3"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="3" />

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_3_letters"
            style="@style/DialpadLetterStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/dialpad_3"
            android:text="DEF" />
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_4_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:contentDescription="@string/four"
        app:layout_constraintBottom_toBottomOf="@+id/dialpad_5_holder"
        app:layout_constraintEnd_toStartOf="@+id/dialpad_5_holder"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="@+id/dialpad_5_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_4"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="4" />

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_4_letters"
            style="@style/DialpadLetterStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/dialpad_4"
            android:text="GHI" />
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_5_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/medium_margin"
        android:contentDescription="@string/five"
        app:layout_constraintBottom_toTopOf="@+id/dialpad_8_holder"
        app:layout_constraintEnd_toStartOf="@+id/dialpad_6_holder"
        app:layout_constraintStart_toEndOf="@+id/dialpad_4_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_5"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="5" />

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_5_letters"
            style="@style/DialpadLetterStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/dialpad_5"
            android:layout_marginBottom="@dimen/small_margin"
            android:text="JKL" />
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_6_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:contentDescription="@string/six"
        app:layout_constraintBottom_toBottomOf="@+id/dialpad_5_holder"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toEndOf="@+id/dialpad_5_holder"
        app:layout_constraintTop_toTopOf="@+id/dialpad_5_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_6"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="6" />

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_6_letters"
            style="@style/DialpadLetterStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/dialpad_6"
            android:text="MNO" />
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_7_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:contentDescription="@string/seven"
        app:layout_constraintBottom_toBottomOf="@+id/dialpad_8_holder"
        app:layout_constraintEnd_toStartOf="@+id/dialpad_8_holder"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="@+id/dialpad_8_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_7"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="7" />

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_7_letters"
            style="@style/DialpadLetterStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/dialpad_7"
            android:text="PQRS" />
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_8_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/medium_margin"
        android:contentDescription="@string/eight"
        app:layout_constraintBottom_toTopOf="@+id/dialpad_0_holder"
        app:layout_constraintEnd_toStartOf="@+id/dialpad_9_holder"
        app:layout_constraintStart_toEndOf="@+id/dialpad_7_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_8"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="8" />

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_8_letters"
            style="@style/DialpadLetterStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/dialpad_8"
            android:layout_marginBottom="@dimen/small_margin"
            android:text="TUV" />
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_9_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:contentDescription="@string/nine"
        app:layout_constraintBottom_toBottomOf="@+id/dialpad_8_holder"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toEndOf="@+id/dialpad_8_holder"
        app:layout_constraintTop_toTopOf="@+id/dialpad_8_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_9"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="9" />

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_9_letters"
            style="@style/DialpadLetterStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/dialpad_9"
            android:text="WXYZ" />
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_asterisk_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:contentDescription="@string/asterisk"
        app:layout_constraintBottom_toBottomOf="@+id/dialpad_0_holder"
        app:layout_constraintEnd_toStartOf="@+id/dialpad_0_holder"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="@+id/dialpad_0_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_asterisk"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:text="*" />
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_0_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/medium_margin"
        android:contentDescription="@string/zero"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toStartOf="@+id/dialpad_hashtag_holder"
        app:layout_constraintStart_toEndOf="@+id/dialpad_asterisk_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_0"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="0" />

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_plus_letters"
            style="@style/DialpadLetterStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/dialpad_0"
            android:layout_marginBottom="@dimen/small_margin"
            android:text="+" />

    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_plus_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:contentDescription="@string/zero"
        android:visibility="gone"
        app:layout_constraintBottom_toBottomOf="@+id/dialpad_0_holder"
        app:layout_constraintEnd_toStartOf="@+id/dialpad_hashtag_holder"
        app:layout_constraintStart_toEndOf="@+id/dialpad_asterisk_holder"
        app:layout_constraintTop_toTopOf="@+id/dialpad_0_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_plus_alt"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:text="+" />

    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialpad_hashtag_holder"
        style="@style/DialpadButtonStyle"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:contentDescription="@string/hashtag"
        app:layout_constraintBottom_toBottomOf="@+id/dialpad_0_holder"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toEndOf="@+id/dialpad_0_holder"
        app:layout_constraintTop_toTopOf="@+id/dialpad_0_holder">

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/dialpad_hashtag"
            style="@style/DialpadNumberStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:text="#" />

    </RelativeLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
