<?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/manageStockFragment" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".ManageStockFragment"> <EditText android:id="@+id/insertItemCode" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" android:layout_marginBottom="16dp" android:autofillHints="@string/productCode" android:ems="10" android:hint="@string/productCode" android:inputType="text" app:layout_constraintBottom_toTopOf="@+id/insertItemDescription" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" tools:ignore="TouchTargetSizeCheck" /> <EditText android:id="@+id/insertItemDescription" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" android:layout_marginBottom="16dp" android:autofillHints="@string/productDescription" android:ems="10" android:hint="@string/productDescription" android:inputType="text" app:layout_constraintBottom_toTopOf="@+id/insertItemCount" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" tools:ignore="TouchTargetSizeCheck" /> <EditText android:id="@+id/insertItemCount" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" android:layout_marginBottom="16dp" android:autofillHints="Stock" android:ems="10" android:hint="@string/productStock" android:inputType="number" app:layout_constraintBottom_toTopOf="@+id/buttonAdd" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" tools:ignore="TouchTargetSizeCheck,TouchTargetSizeCheck" /> <Button android:id="@+id/buttonAdd" style="@android:style/Widget.Material.Button.Borderless.Colored" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" android:layout_marginBottom="100dp" android:text="@string/addButton" android:textColor="@color/earthgreen" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/buttonUpdate" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toStartOf="parent" /> <Button android:id="@+id/buttonUpdate" style="@android:style/Widget.Material.Button.Borderless.Colored" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" android:layout_marginBottom="100dp" android:text="@string/updateButton" android:textColor="@color/earthgreen" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toEndOf="@+id/buttonAdd" /> </androidx.constraintlayout.widget.ConstraintLayout>