146 lines
5.7 KiB
XML
146 lines
5.7 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="10.5">
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/sino"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="8dp"
|
||
|
|
android:text="SI.NO"
|
||
|
|
android:textSize="12dp" />
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/prodname"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="8dp"
|
||
|
|
android:text="product"
|
||
|
|
android:textSize="12dp" />
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/stockdata"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="8dp"
|
||
|
|
android:text="stockdata"
|
||
|
|
android:textSize="12dp" />
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/expireddata"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="8dp"
|
||
|
|
android:text="expireddata"
|
||
|
|
android:textSize="11dp" />
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/stock"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="8dp"
|
||
|
|
android:text="stock"
|
||
|
|
android:textSize="12dp" />
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/oldmrp"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="8dp"
|
||
|
|
android:text="oldmrp"
|
||
|
|
android:textSize="12dp" />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:layout_margin="03dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||
|
|
app:boxStrokeColor="#000">
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:id="@+id/newmrp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:clickable="true"
|
||
|
|
android:focusable="true"
|
||
|
|
android:focusableInTouchMode="true"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:hint="NewMrp"
|
||
|
|
android:inputType="number"
|
||
|
|
android:padding="7dp"
|
||
|
|
android:textSize="14sp" />
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/oldprice"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="8dp"
|
||
|
|
android:text="oldprice"
|
||
|
|
android:textSize="12dp" />
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:layout_margin="03dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||
|
|
app:boxStrokeColor="#000">
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:id="@+id/newsellingprice"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:clickable="true"
|
||
|
|
android:focusable="true"
|
||
|
|
android:focusableInTouchMode="true"
|
||
|
|
android:gravity="center"
|
||
|
|
android:hint="Sellprice"
|
||
|
|
android:inputType="numberDecimal|number"
|
||
|
|
android:padding="7dp"
|
||
|
|
android:textSize="14sp" />
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|