]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/new_transaction_row.xml
add calendar drawable to the date input of the new transaction activity
[mobile-ledger.git] / app / src / main / res / layout / new_transaction_row.xml
index 9491ba7bc9d8fc401c7e5016098ac5b6e5a3ad54..382e9ebdefe6a5439bf1fec65135ce3633a8face 100644 (file)
@@ -33,6 +33,7 @@
             android:layout_width="94dp"
             android:layout_height="0dp"
             android:accessibilityTraversalBefore="@+id/new_transaction_description"
+            android:drawableStart="@drawable/ic_event_gray_24dp"
             android:ems="10"
             android:foregroundGravity="bottom"
             android:gravity="bottom"
             android:width="0dp"
             android:foregroundGravity="bottom"
             android:gravity="bottom|end"
-            android:hint="0.00"
-            android:inputType="numberSigned|numberDecimal"
-            android:minWidth="60sp"
+            android:hint="@string/zero_amount"
+            android:inputType="numberSigned|numberDecimal|number"
+            android:minWidth="70sp"
             android:textAlignment="viewEnd"
             android:selectAllOnFocus="true"
-            tools:ignore="HardcodedText"
             android:imeOptions="actionNext"/>
 
     </LinearLayout>