<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/gray2"
tools:context=".fragments.TimeKeepingDetailFragment">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_header"
android:layout_width="match_parent"
android:layout_height="56dp"
android:background="@drawable/background_cus">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/img_back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:src="@drawable/icon_back_left"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/txt_type_post"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/detail_work_day"
android:textColor="@color/white"
android:textSize="18sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.cardview.widget.CardView
android:id="@+id/cv_time"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="20dp"
android:background="@drawable/botron_edittext"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="20dp"
app:cardCornerRadius="10dp"
android:layout_marginBottom="20dp"
android:layout_below="@+id/layout_header">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_username"
android:layout_width="match_parent"
android:background="@color/white"
android:layout_height="match_parent"
android:padding="20dp">
<TextView
android:id="@+id/txt_title1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/time"
android:textColor="@color/black"
android:textSize="18sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_rank"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
app:layout_constraintTop_toBottomOf="@+id/txt_title1"
tools:layout_editor_absoluteX="20dp">
<TextView
android:id="@+id/txt_title2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rank"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/txt_rank"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_day"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/layout_rank"
android:layout_marginTop="15dp"
app:layout_constraintTop_toBottomOf="@+id/layout_rank"
tools:layout_editor_absoluteX="20dp">
<TextView
android:id="@+id/txt_title3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/day"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/txt_day"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
<ScrollView
android:id="@+id/sc_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_below="@+id/cv_time">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.cardview.widget.CardView
android:id="@+id/cv_table_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="20dp"
android:backgroundTint="@color/white"
app:cardCornerRadius="10dp">
<RelativeLayout
android:id="@+id/layout_table_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/layout_header"
android:padding="20dp">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_number_hour_working"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/txt_title4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/number_hour_working"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/txt_number_hour_working"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_coefficient_wage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/layout_number_hour_working"
android:layout_marginTop="15dp">
<TextView
android:id="@+id/txt_title5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/coefficient_wage"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/txt_coefficient_wage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_coefficient_wage_overtime"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/layout_coefficient_wage"
android:layout_marginTop="15dp">
<TextView
android:id="@+id/txt_title6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/coefficient_wage_overtime"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/txt_coefficient_wage_overtime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_wage_of_day"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/layout_coefficient_wage_overtime"
android:layout_marginTop="15dp">
<TextView
android:id="@+id/txt_title7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/wage"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/txt_wage_of_day"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_time_start_working"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/layout_wage_of_day"
android:layout_marginTop="15dp">
<TextView
android:id="@+id/txt_title8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/time_start_working"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/txt_time_start_working"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_time_end_working"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/layout_time_start_working"
android:layout_marginTop="15dp">
<TextView
android:id="@+id/txt_title9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/time_end_working"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/txt_time_end_working"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</RelativeLayout>
</androidx.cardview.widget.CardView>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_title_table"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/cv_table_summary"
android:layout_marginHorizontal="20dp"
android:layout_marginTop="20dp"
android:background="@drawable/botron_layout_title"
android:padding="10dp">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/txt_time_in"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="25dp"
android:text="Thời gian vào"
android:textColor="@color/white"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/txt_time_out"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="25dp"
android:text="Thời gian ra"
android:textColor="@color/white"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rcv_list_time"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/layout_title_table"
android:layout_marginHorizontal="20dp" />
</RelativeLayout>
</ScrollView>
</RelativeLayout>