256 lines
10 KiB
XML
256 lines
10 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"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:background="@color/background"
|
||
|
|
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:layout_margin="15dp"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:orientation="vertical"
|
||
|
|
app:cardCornerRadius="10dp">
|
||
|
|
<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:background="@color/white"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2.3">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="@dimen/dp_5"
|
||
|
|
android:layout_weight="0.1">
|
||
|
|
|
||
|
|
<androidx.appcompat.widget.Toolbar
|
||
|
|
android:id="@+id/tb"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@color/white"
|
||
|
|
app:navigationIcon="?attr/homeAsUpIndicator"
|
||
|
|
app:titleTextColor="@color/black"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="0.8">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/ToolTextT"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:text="Extra Charges"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/sp_18" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:weightSum="3"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.7"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:boxStrokeColor="@color/black"
|
||
|
|
android:paddingVertical="5dp"
|
||
|
|
android:layout_marginLeft="16sp">
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:id="@+id/Search"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:hint="Search"
|
||
|
|
android:inputType="text"
|
||
|
|
android:textSize="16dp" />
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1.2"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginHorizontal="20dp"
|
||
|
|
android:gravity="end">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/addExtracharge"
|
||
|
|
android:layout_marginTop="3dp"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:background="@drawable/submit_btn"
|
||
|
|
android:drawableRight="@drawable/add_24"
|
||
|
|
android:fontFamily="@font/popins_medimum"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textAllCaps="false"
|
||
|
|
android:text=" Add New "
|
||
|
|
android:textColor="@color/white">
|
||
|
|
|
||
|
|
</Button>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:layout_marginHorizontal="15dp"
|
||
|
|
android:background="@drawable/border_top_radius"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="3.5">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:text="SL.NO"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:layout_width="2dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:text="EXTRA CHARGES TYPE"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="2dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:text="PRICE"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:layout_width="2dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:text="ACTION"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
android:id="@+id/recyclerextracharges"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_marginHorizontal="15dp"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
</androidx.recyclerview.widget.RecyclerView>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginHorizontal="15dp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginTop="1dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/nodata"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:paddingVertical="5dp"
|
||
|
|
android:src="@drawable/nodatafound"
|
||
|
|
android:visibility="gone">
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|