789 lines
40 KiB
XML
789 lines
40 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
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:background="@color/white"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_marginHorizontal="@dimen/dp_15"
|
|
android:layout_marginTop="@dimen/_20dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
|
|
<TextView
|
|
android:id="@+id/headerName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.8"
|
|
android:fontFamily="@font/inter_500"
|
|
android:text="Add Employee"
|
|
android:textColor="@color/black"
|
|
android:textSize="20dp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:id="@+id/emp_cancel"
|
|
android:foregroundGravity="center"
|
|
android:layout_width="15dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="0.2"
|
|
android:src="@drawable/close_1" />
|
|
</LinearLayout>
|
|
|
|
<ScrollView
|
|
android:id="@+id/scrollView"
|
|
android:layout_marginBottom="80dp"
|
|
android:layout_marginTop="60dp"
|
|
android:fillViewport="true"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginHorizontal="15dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:hintTextColor="@color/primary_blue"
|
|
android:hint="User Name"
|
|
android:textColorHint="#979797"
|
|
app:boxStrokeWidth="1dp"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
|
<AutoCompleteTextView
|
|
android:id="@+id/emp_username"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:gravity="center_vertical"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textSize="13dp"
|
|
android:background="@null"
|
|
android:drawableEnd="@drawable/dropdown"
|
|
android:inputType="textNoSuggestions"
|
|
android:paddingEnd="10dp" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:hintTextColor="@color/primary_blue"
|
|
android:hint="First Name"
|
|
android:textColorHint="#979797"
|
|
app:boxStrokeWidth="1dp"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/emp_fullname"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:gravity="center_vertical"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textSize="13dp"
|
|
|
|
android:textColorHint="@color/black"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:hintTextColor="@color/primary_blue"
|
|
android:hint="Last Name"
|
|
android:textColorHint="#979797"
|
|
app:boxStrokeWidth="1dp"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/emp_lastname"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:gravity="center_vertical"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textSize="13dp"
|
|
|
|
android:textColorHint="@color/black"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:hintTextColor="@color/primary_blue"
|
|
android:hint="Mobile Number"
|
|
android:textColorHint="#979797"
|
|
app:boxStrokeWidth="1dp"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/emp_mobilenumber"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:gravity="center_vertical"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textSize="13sp"
|
|
android:inputType="number"
|
|
android:maxLength="10"
|
|
android:digits="0123456789"
|
|
android:maxLines="1"
|
|
android:textColorHint="@color/black"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:hintTextColor="@color/primary_blue"
|
|
android:hint="Employee Type"
|
|
android:textColorHint="#979797"
|
|
app:boxStrokeWidth="1dp"
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
|
<AutoCompleteTextView
|
|
android:id="@+id/emp_employeetype"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:gravity="center_vertical"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textSize="13dp"
|
|
android:background="@null"
|
|
android:drawableEnd="@drawable/dropdown"
|
|
android:inputType="textNoSuggestions"
|
|
android:paddingEnd="10dp" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:hintTextColor="@color/primary_blue"
|
|
android:hint="Designation"
|
|
android:textColorHint="#979797"
|
|
app:boxStrokeWidth="1dp"
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
|
<AutoCompleteTextView
|
|
android:id="@+id/emp_designation"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
|
|
android:gravity="center_vertical"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textSize="13dp"
|
|
android:background="@null"
|
|
android:drawableEnd="@drawable/dropdown"
|
|
android:inputType="textNoSuggestions"
|
|
android:paddingEnd="10dp" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:hintTextColor="@color/primary_blue"
|
|
android:hint="Department "
|
|
android:textColorHint="#979797"
|
|
app:boxStrokeWidth="1dp"
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
|
<AutoCompleteTextView
|
|
android:id="@+id/emp_department"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
|
|
android:gravity="center_vertical"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textSize="13dp"
|
|
android:background="@null"
|
|
android:drawableEnd="@drawable/dropdown"
|
|
android:inputType="textNoSuggestions"
|
|
android:paddingEnd="10dp" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:hintTextColor="@color/primary_blue"
|
|
android:hint="Shift Name"
|
|
android:textColorHint="#979797"
|
|
app:boxStrokeWidth="1dp"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
|
<AutoCompleteTextView
|
|
android:id="@+id/emp_shiftnamae"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:gravity="center_vertical"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textSize="13dp"
|
|
android:background="@null"
|
|
android:drawableEnd="@drawable/dropdown"
|
|
android:inputType="textNoSuggestions"
|
|
android:paddingEnd="10dp" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:hintTextColor="@color/primary_blue"
|
|
android:hint="Date Of Join"
|
|
android:focusable="false"
|
|
android:textColorHint="#979797"
|
|
app:boxStrokeWidth="1dp"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/selectdate"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:focusable="false"
|
|
android:paddingBottom="8dp"
|
|
android:gravity="center_vertical"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textSize="13sp"
|
|
android:maxLines="1"
|
|
android:textColorHint="@color/black"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Mobile App Access"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginLeft="15dp"
|
|
android:fontFamily="@font/poppins_medium"
|
|
android:textStyle="bold"
|
|
android:textSize="16dp" />
|
|
<RadioGroup
|
|
android:id="@+id/radiogroup1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginLeft="15dp">
|
|
<RadioButton
|
|
android:id="@+id/yesradio"
|
|
android:layout_width="60dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="Yes"
|
|
android:fontFamily="@font/popins_regular"
|
|
android:checked="true"
|
|
android:textSize="14dp" />
|
|
<RadioButton
|
|
android:id="@+id/noradio"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="No"
|
|
android:fontFamily="@font/popins_regular"
|
|
android:textSize="14dp" >
|
|
</RadioButton>
|
|
</RadioGroup>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp_8"
|
|
android:layout_marginTop="10dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/inter_500"
|
|
android:text="Profile Image"
|
|
android:textAlignment="center"
|
|
android:textColor="@color/primary_blue"
|
|
android:textSize="@dimen/sp_11" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="81dp"
|
|
android:layout_height="72dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
android:background="@drawable/sales_screen_4_dash_dot_bg"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/emp_upload"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_margin="@dimen/dp_3"
|
|
android:src="@drawable/sales_screen_upload">
|
|
|
|
</ImageView>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/inter_500"
|
|
android:text="Upload"
|
|
android:textAlignment="center"
|
|
android:textColor="#979797"
|
|
android:textSize="@dimen/sp_11" />
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/emp_prodImageView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_margin="@dimen/dp_2"
|
|
android:scaleType="fitXY"
|
|
android:visibility="gone">
|
|
|
|
</ImageView>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:background="@drawable/sales_screen_blue_solid_14"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="28dp"
|
|
android:background="@drawable/sales_screen_blue_border_solid_14"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/moreInfoOpenLL"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="0.8">
|
|
|
|
<TextView
|
|
android:id="@+id/moreInfoOpenTV"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
android:fontFamily="@font/inter_500"
|
|
android:gravity="center"
|
|
android:text="Address Details"
|
|
android:textColor="@color/black"
|
|
android:textSize="13dp"
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="0.2"
|
|
android:gravity="center">
|
|
|
|
<ImageView
|
|
android:id="@+id/emp_arrowright"
|
|
android:layout_width="30dp"
|
|
android:tint="@color/black"
|
|
android:layout_height="20dp"
|
|
android:src="@drawable/sales_screen_down_round_arrow">
|
|
|
|
</ImageView>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/moreInfoChildLL"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginRight="11dp"
|
|
android:layout_weight="0.5"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxBackgroundColor="#ffffff"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="@color/primary_blue">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/emp_Address1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:fontFamily="@font/inter_500"
|
|
android:hint="Address 1"
|
|
android:inputType="textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:textColor="@color/black"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="12sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="0.5"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxBackgroundColor="#ffffff"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="@color/primary_blue">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/emp_Address2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:fontFamily="@font/inter_500"
|
|
android:hint="Address 2"
|
|
android:inputType="textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:textColor="@color/black"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="12sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginRight="11dp"
|
|
android:layout_weight="0.5"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxBackgroundColor="#ffffff"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="@color/primary_blue">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/emp_zipcode"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:fontFamily="@font/inter_500"
|
|
android:hint="Zip Code"
|
|
android:inputType="textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:textColor="@color/black"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="12sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="0.5"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxBackgroundColor="#ffffff"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="@color/primary_blue">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/emp_lattitude"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:fontFamily="@font/inter_500"
|
|
android:hint="Lattitude"
|
|
android:inputType="textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:textColor="@color/black"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="12sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginBottom="@dimen/dp_15"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_marginRight="11dp"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:boxBackgroundColor="#ffffff"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="@color/primary_blue">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/emp_longtitude"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/inter_500"
|
|
android:hint="Longtitude"
|
|
android:inputType="textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:minHeight="45dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:textColor="@color/black"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="12sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_gravity="bottom"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/getCurrentLocation"
|
|
android:backgroundTint="@color/primary_blue"
|
|
android:background="@drawable/sales_screen_blue_border"
|
|
android:layout_width="match_parent"
|
|
android:gravity="center"
|
|
android:layout_gravity="center"
|
|
android:layout_height="45dp">
|
|
<ImageView
|
|
android:id="@+id/cus_BS_icon"
|
|
android:layout_marginRight="@dimen/dp_10"
|
|
android:foregroundGravity="center"
|
|
android:layout_gravity="center"
|
|
android:layout_width="@dimen/dp_15"
|
|
android:layout_height="@dimen/dp_15"
|
|
android:src="@drawable/baseline_location_on_24">
|
|
</ImageView>
|
|
<TextView
|
|
android:id="@+id/cus_BS_text"
|
|
android:gravity="center"
|
|
android:layout_gravity="center"
|
|
android:fontFamily="@font/inter_600"
|
|
android:textSize="14dp"
|
|
android:textStyle="bold"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Get Location"
|
|
android:textColor="@color/white"/>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
<LinearLayout
|
|
android:gravity="bottom"
|
|
android:layout_gravity="bottom"
|
|
android:id="@+id/save"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="41dp"
|
|
android:layout_weight="1"
|
|
android:backgroundTint="@color/primary_dark_green_52C41A"
|
|
android:background="@drawable/sales_screen_bg_button"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginHorizontal="@dimen/dp_50"
|
|
android:layout_marginBottom="@dimen/dp_15"
|
|
android:visibility="visible">
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/emp_submit"
|
|
android:gravity="center"
|
|
android:layout_gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<TextView
|
|
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:fontFamily="@font/inter_600"
|
|
android:maxLines="1"
|
|
android:text="Submit"
|
|
android:textAlignment="center"
|
|
android:textColor="@color/white"
|
|
android:textSize="18dp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |