236 lines
12 KiB
XML
236 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:background="@color/newlight_grey"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/white"
|
|
android:orientation="vertical"
|
|
app:cardCornerRadius="10dp">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:layout_marginBottom="100dp">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:layout_margin="@dimen/dp_10">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Add Supplier Product Mapping"
|
|
android:fontFamily="@font/inter_600"
|
|
android:textSize="@dimen/dp_15"
|
|
android:textColor="@color/black">
|
|
</TextView>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:layout_gravity="center">
|
|
<ImageView
|
|
android:id="@+id/close"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:src="@drawable/close_1"
|
|
android:layout_gravity="end">
|
|
</ImageView>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<com.google.android.flexbox.FlexboxLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
app:flexWrap="wrap"
|
|
app:flexDirection="row"
|
|
android:layout_marginTop="@dimen/dp_10">
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/suppnameparent"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginRight="10dp">
|
|
<AutoCompleteTextView
|
|
android:id="@+id/supplierpopupspinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textNoSuggestions"
|
|
android:hint="Supplier Name*"
|
|
android:fontFamily="@font/inter_600"
|
|
android:paddingVertical="15dp" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<LinearLayout
|
|
android:id="@+id/addsupplier"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="start"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:gravity="start">
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/add_circle">
|
|
</ImageView>
|
|
</LinearLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/prodsplinnerparent"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginRight="10dp">
|
|
<AutoCompleteTextView
|
|
android:id="@+id/prodsplinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textNoSuggestions"
|
|
android:hint="Product Name*"
|
|
android:fontFamily="@font/inter_600"
|
|
android:paddingVertical="15dp" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<LinearLayout
|
|
android:id="@+id/addproduct"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="start"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:gravity="start">
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/add_circle">
|
|
</ImageView>
|
|
</LinearLayout>
|
|
|
|
</com.google.android.flexbox.FlexboxLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="3"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:padding="@dimen/dp_5"
|
|
android:background="@drawable/border_top_d6d6d6">
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:fontFamily="@font/inter_600"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:text="SINO">
|
|
</TextView>
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:fontFamily="@font/inter_600"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:textAllCaps="true"
|
|
android:text="Product Name">
|
|
</TextView>
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:fontFamily="@font/inter_600"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:textAllCaps="true"
|
|
android:text="Action">
|
|
</TextView>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:orientation="vertical">
|
|
<ImageView
|
|
android:id="@+id/nodataprod"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginVertical="10dp"
|
|
android:src="@drawable/nodatafound">
|
|
</ImageView>
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/addsupprodrecycle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</LinearLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="20dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/submitbutton"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right"
|
|
android:gravity="center"
|
|
android:layout_marginRight="15dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/btn_holds"
|
|
android:backgroundTint="@color/violet">
|
|
|
|
<TextView
|
|
android:id="@+id/textviewsub"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:text="SUBMIT"
|
|
android:textColor="@color/white"
|
|
android:gravity="center"
|
|
android:layout_marginLeft="15dp"
|
|
android:drawablePadding="20dp"
|
|
android:drawableTint="@color/white"
|
|
android:drawableRight="@drawable/rightarrow"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |