361 lines
18 KiB
XML
361 lines
18 KiB
XML
<?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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#B9000000"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_margin="10dp"
|
|
android:background="@drawable/supplier_border"
|
|
android:backgroundTint="@color/white"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_25"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="25dp"
|
|
android:layout_weight="0.9"
|
|
android:fontFamily="@font/manropeextrabold"
|
|
android:text="Add Supplier"
|
|
android:textColor="@color/black"
|
|
android:textSize="24dp"
|
|
android:textStyle="bold" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/closePopUp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="0.1"
|
|
android:gravity="center">
|
|
|
|
<ImageView
|
|
android:layout_width="35dp"
|
|
android:layout_height="25dp"
|
|
android:background="@drawable/ripple_effect"
|
|
android:src="@drawable/close_1">
|
|
|
|
</ImageView>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginHorizontal="25dp"
|
|
android:layout_marginTop="38dp"
|
|
android:layout_marginBottom="38dp"
|
|
android:background="@color/white"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="10dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="25dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="2">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_weight="1"
|
|
android:visibility="visible">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
app:boxStrokeColor="#00BFFF"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="#00BFFF">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/Suppliername"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:hint="Supplier Name*"
|
|
android:inputType="text"
|
|
android:maxLines="1"
|
|
android:paddingLeft="13sp"
|
|
android:paddingRight="13sp"
|
|
android:paddingBottom="13sp"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="15sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_weight="1"
|
|
android:visibility="visible">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
app:boxStrokeColor="#00BFFF"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="#00BFFF">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/address"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:hint="Address*"
|
|
android:inputType="text"
|
|
android:maxLines="1"
|
|
android:paddingLeft="13sp"
|
|
android:paddingRight="13sp"
|
|
android:paddingBottom="13sp"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="15sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:orientation="horizontal"
|
|
android:weightSum="2">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:layout_weight="1"
|
|
android:visibility="visible">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
app:boxStrokeColor="#00BFFF"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="#00BFFF">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/zipcode"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:hint="Zipcode*"
|
|
android:inputType="number"
|
|
android:maxLength="6"
|
|
android:maxLines="1"
|
|
android:padding="@dimen/dp_15"
|
|
android:paddingLeft="13sp"
|
|
android:paddingRight="13sp"
|
|
android:paddingBottom="13sp"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="15sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/city1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_weight="1"
|
|
android:visibility="gone">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
app:boxStrokeColor="#00BFFF"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="#00BFFF">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/City"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:focusable="false"
|
|
android:hint="City*"
|
|
android:inputType="text"
|
|
android:maxLines="1"
|
|
android:paddingLeft="13sp"
|
|
android:paddingRight="13sp"
|
|
android:paddingBottom="13sp"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="15sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/districtandstate"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="2">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_weight="1"
|
|
android:visibility="visible">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
app:boxStrokeColor="#00BFFF"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="#00BFFF">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/District"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:focusable="false"
|
|
android:hint="District*"
|
|
android:inputType="text"
|
|
android:maxLines="1"
|
|
android:paddingLeft="13sp"
|
|
android:paddingRight="13sp"
|
|
android:paddingBottom="13sp"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="15sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_weight="1"
|
|
android:visibility="visible">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
app:boxStrokeColor="#00BFFF"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="#00BFFF">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/states"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:focusable="false"
|
|
android:hint="State*"
|
|
android:inputType="text"
|
|
android:maxLines="1"
|
|
android:paddingLeft="13sp"
|
|
android:paddingRight="13sp"
|
|
android:paddingBottom="13sp"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="15sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/submitsupplier"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="40dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:background="@drawable/submit_btn"
|
|
android:drawableRight="@drawable/submit_vec"
|
|
android:drawablePadding="12sp"
|
|
android:padding="12dp"
|
|
android:text="SUBMIT"
|
|
android:textColor="@color/white"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |