211 lines
8.1 KiB
XML
211 lines
8.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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"
|
|
android:padding="16dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_weight="0.5">
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Name"
|
|
android:textSize="16dp"
|
|
android:textColor="@color/black" />
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="*"
|
|
android:textSize="16dp"
|
|
android:textColor="@color/red" />
|
|
</LinearLayout>
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60sp"
|
|
app:boxStrokeColor="#000"
|
|
android:layout_marginLeft="16sp"
|
|
android:layout_marginTop="10sp"
|
|
android:layout_marginRight="16sp"
|
|
>
|
|
|
|
|
|
<EditText
|
|
android:id="@+id/name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:drawablePadding="10dp"
|
|
android:inputType="text"
|
|
android:maxLength="30"
|
|
app:errorEnabled="true"
|
|
android:textSize="11sp"
|
|
/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_weight="0.5">
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Phone number"
|
|
android:textSize="16dp"
|
|
android:textColor="@color/black"
|
|
/>
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="*"
|
|
android:textSize="16dp"
|
|
android:textColor="@color/red" />
|
|
</LinearLayout>
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60sp"
|
|
app:boxStrokeColor="#000"
|
|
android:layout_marginLeft="16sp"
|
|
android:layout_marginTop="10sp"
|
|
android:layout_marginRight="16sp"
|
|
>
|
|
|
|
<EditText
|
|
android:id="@+id/ph_number"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:drawablePadding="10dp"
|
|
android:inputType="text"
|
|
android:maxLength="10"
|
|
android:textSize="11sp"
|
|
app:errorEnabled="true"
|
|
/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_weight="0.5">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="GSTN"
|
|
android:textSize="16dp"
|
|
android:textColor="@color/black"
|
|
/>
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60sp"
|
|
app:boxStrokeColor="#000"
|
|
android:layout_marginLeft="16sp"
|
|
android:layout_marginTop="10sp"
|
|
android:layout_marginRight="16sp"
|
|
>
|
|
|
|
|
|
<EditText
|
|
android:id="@+id/gstn"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:drawablePadding="10dp"
|
|
android:inputType="text"
|
|
android:textSize="11sp"
|
|
android:maxLength="15"
|
|
app:errorEnabled="true"
|
|
/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_weight="0.5">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Date of Joining"
|
|
android:textSize="16dp"
|
|
android:textColor="@color/black"
|
|
/>
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60sp"
|
|
app:boxStrokeColor="#000"
|
|
android:layout_marginLeft="16sp"
|
|
android:layout_marginTop="10sp"
|
|
android:layout_marginRight="16sp"
|
|
>
|
|
|
|
<EditText
|
|
android:id="@+id/doj"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:drawablePadding="10dp"
|
|
android:inputType="text"
|
|
android:focusable="false"
|
|
android:textSize="11sp"
|
|
|
|
/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_gravity="right"
|
|
android:gravity="end"
|
|
android:layout_margin="20dp">
|
|
|
|
<TextView
|
|
android:id="@+id/cancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="CANCEL"
|
|
android:textColor="@color/green"
|
|
android:layout_marginRight="5dp"/>
|
|
<TextView
|
|
android:id="@+id/ok"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="OK"
|
|
android:textColor="@color/green"
|
|
android:layout_marginRight="5dp"/>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout> |