<?xml version="1.0" encoding="utf-8"?><!--
- ~ Copyright © 2019 Damyan Ivanov.
+ ~ Copyright © 2020 Damyan Ivanov.
~ This file is part of MoLe.
~ MoLe is free software: you can distribute it and/or modify it
~ under the term of the GNU General Public License as published by
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"
- android:orientation="horizontal">
+ android:orientation="horizontal"
+ >
+ <TextView
+ android:id="@+id/dummy_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visibility="gone"
+ tools:ignore="MissingConstraints"
+ />
<EditText
android:id="@+id/new_transaction_date"
android:layout_width="94dp"
android:gravity="bottom|end"
android:hint="@string/zero_amount"
android:imeOptions="actionNext"
- android:inputType="numberSigned|numberDecimal|number"
- android:minWidth="80sp"
+ android:inputType="number|numberSigned|numberDecimal"
+ android:minEms="4"
android:selectAllOnFocus="true"
android:textAlignment="viewEnd"
app:layout_constraintBottom_toBottomOf="parent"