<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_margin="16dp"
    android:minWidth="300dp">

    <EditText
        android:id="@+id/value"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="12dp"
        android:layout_marginLeft="22dp"
        android:layout_marginStart="22dp"
        android:layout_marginRight="32dp"
        android:layout_marginEnd="32dp"
        android:inputType="numberDecimal"
        android:singleLine="true"
        android:maxLength="3"/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_margin="16dp"
    android:minWidth="300dp">

    <EditText
        android:id="@+id/value"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="12dp"
        android:layout_marginLeft="22dp"
        android:layout_marginStart="22dp"
        android:layout_marginRight="32dp"
        android:layout_marginEnd="32dp"
        android:inputType="numberDecimal"
        android:digits="0123456789"
        android:singleLine="true"
        android:maxLength="3"/>
</LinearLayout>
Fix crash when entering an invalid input in the duration dialogs
Fix crash when entering an invalid input in the duration dialogs
