216 lines
9.2 KiB
XML
216 lines
9.2 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<LinearLayout 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/main"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
tools:context=".masters.SupplierProdMapping.Supplierprodmapmain">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_margin="@dimen/_20dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/back"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:padding="@dimen/dp_3"
|
||
|
|
android:src="@drawable/back"/>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Supplier Product Mapping"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:layout_marginLeft="@dimen/dp_10"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/dp_18" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<com.google.android.flexbox.FlexboxLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
app:flexWrap="wrap"
|
||
|
|
app:flexDirection="row"
|
||
|
|
app:justifyContent="space_between"
|
||
|
|
app:alignItems="center">
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:minWidth="220dp"
|
||
|
|
android:layout_marginRight="@dimen/dp_10"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
app:boxStrokeColor="#00BFFF"
|
||
|
|
app:boxBackgroundColor="@android:color/white">
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:id="@+id/searchsupplier"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:inputType="text"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:textColorHint="@color/preorder_text_color"
|
||
|
|
android:hint="search pending" />
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
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="@dimen/dp_10">
|
||
|
|
<AutoCompleteTextView
|
||
|
|
android:id="@+id/supplierspinner"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="45dp"
|
||
|
|
android:background="@null"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:hint=" Search By"
|
||
|
|
android:inputType="textNoSuggestions"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="14dp" />
|
||
|
|
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:minWidth="220dp"
|
||
|
|
android:layout_marginRight="@dimen/dp_10"
|
||
|
|
android:layout_marginTop="@dimen/dp_10">
|
||
|
|
|
||
|
|
<AutoCompleteTextView
|
||
|
|
android:id="@+id/activationspinner"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:inputType="textNoSuggestions"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:hint="Activation"
|
||
|
|
android:paddingVertical="15dp" />
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/fab"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:background="@drawable/btn_holds"
|
||
|
|
android:backgroundTint="@color/violet"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:layout_marginRight="@dimen/dp_10"
|
||
|
|
app:layout_alignSelf="flex_end">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:drawableRight="@drawable/add_24"
|
||
|
|
android:drawablePadding="20dp"
|
||
|
|
android:drawableTint="@color/white"
|
||
|
|
android:fontFamily="@font/popins_medimum"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="Add New"
|
||
|
|
android:textColor="@color/white" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</com.google.android.flexbox.FlexboxLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:background="@drawable/border_top_d6d6d6"
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:weightSum="5">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Si.No"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:textAllCaps="true">
|
||
|
|
</TextView>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Supplier Name"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:textAllCaps="true">
|
||
|
|
</TextView>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Product Name"
|
||
|
|
android:layout_weight="1.3"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:textAllCaps="true">
|
||
|
|
</TextView>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Created Date"
|
||
|
|
android:layout_weight="1.2"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:textAllCaps="true">
|
||
|
|
</TextView>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Action"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:textAllCaps="true">
|
||
|
|
</TextView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_marginTop="@dimen/dp_10">
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
android:id="@+id/supplyerrecycle"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
</androidx.recyclerview.widget.RecyclerView>
|
||
|
|
<ImageView
|
||
|
|
android:visibility="gone"
|
||
|
|
android:id="@+id/nodata"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:src="@drawable/nodatafound"
|
||
|
|
android:layout_marginVertical="@dimen/dp_10">
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|