Added checkout and mandate profile

This commit is contained in:
Jeevan Prasad
2025-07-03 19:02:40 +05:30
parent 917fee86de
commit e68ddd7133
491 changed files with 2336 additions and 30039 deletions
@@ -8,7 +8,7 @@
android:id="@+id/card_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/custom_margin3dp"
android:layout_margin="@dimen/custom_margin3dp"
card_view:cardBackgroundColor="@color/white"
card_view:cardCornerRadius="@dimen/custom_margin"
card_view:cardElevation="@dimen/margin1dp">
@@ -16,8 +16,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/edit_text_border">
android:background="@drawable/edit_text_border"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
@@ -29,11 +29,11 @@
android:id="@+id/txt_question"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="@dimen/custom_layout_margin11"
android:gravity="center_vertical"
android:padding="@dimen/custom_layout_margin11"
android:layout_gravity="center_vertical"
android:text="Question"
android:layout_marginLeft="@dimen/custom_layout_margin11"
android:textColor="@color/black"
android:textSize="@dimen/text_size_16sp"
android:textStyle="bold" />
@@ -51,57 +51,54 @@
android:id="@+id/sp_auditAnswer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin1dp"
android:layout_gravity="center"
android:gravity="center"
android:backgroundTint="@color/colorPrimaryDark"
android:layout_marginLeft="@dimen/custom_layout_margin_50"
android:layout_marginRight="@dimen/custom_layout_margin_50"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginRight="@dimen/custom_layout_margin_50"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:visibility="gone"
/>
android:backgroundTint="@color/colorPrimaryDark"
android:gravity="center"
android:padding="@dimen/margin1dp"
android:visibility="gone" />
<EditText
android:id="@+id/edt_answer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/margin60dp"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginRight="@dimen/margin60dp"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:background="@drawable/rouded_corner_edt"
android:focusable="true"
android:hint="type your answer here."
android:gravity="center_vertical"
android:hint="Type your answer here."
android:padding="@dimen/custom_layout_margin11"
android:textColor="@color/black"
android:textSize="@dimen/text_size_16sp"
android:layout_gravity="center"
android:gravity="center"
android:padding="@dimen/custom_layout_margin11"
android:background="@drawable/rouded_corner_edt"
android:layout_marginLeft="@dimen/margin60dp"
android:layout_marginRight="@dimen/margin60dp"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:visibility="gone"
/>
android:visibility="gone" />
<EditText
android:id="@+id/edt_for_others"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/margin60dp"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginRight="@dimen/margin60dp"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:background="@drawable/rouded_corner_edt"
android:focusable="true"
android:hint="type your answer here."
android:textColor="@color/black"
android:textSize="@dimen/text_size_16sp"
android:layout_gravity="center"
android:gravity="center"
android:padding="@dimen/custom_layout_margin11"
android:gravity="center_vertical"
android:hint="Type your answer here."
android:inputType="text"
android:maxLength="100"
android:background="@drawable/rouded_corner_edt"
android:layout_marginLeft="@dimen/margin60dp"
android:layout_marginRight="@dimen/margin60dp"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:visibility="gone"/>
android:padding="@dimen/custom_layout_margin11"
android:textColor="@color/black"
android:textSize="@dimen/text_size_16sp"
android:visibility="gone" />
<RelativeLayout
android:id="@+id/relay_multisppener"
@@ -109,28 +106,20 @@
android:layout_height="wrap_content"
android:layout_margin="@dimen/custom_margin3dp"
android:visibility="gone">
<com.cpm.lorealbaautomation.makeupexpert.BaProfileMultiSelection
android:id="@+id/searchSpinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/custom_layout_margin_50"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginRight="@dimen/custom_layout_margin_50"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:backgroundTint="@color/colorPrimaryDark"
android:gravity="center"
android:textColor="@color/white"
android:textSize="@dimen/text_size_16sp"
card_view:hintText="- Select -"
android:gravity="center"
android:layout_marginLeft="@dimen/custom_layout_margin_50"
android:layout_marginRight="@dimen/custom_layout_margin_50"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:backgroundTint="@color/colorPrimaryDark"/>
<TextView
android:id="@+id/tv_mer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="5dp"
android:text="Select "
android:visibility="gone"
android:textSize="14sp" />
app:hintText="- Select -" />
</RelativeLayout>
@@ -141,15 +130,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:layout_margin="@dimen/custom_margin"
android:visibility="gone"
>
android:gravity="center"
android:visibility="gone">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:orientation="horizontal">
<ImageView
@@ -0,0 +1,85 @@
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/grey_background"
android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".checkout.BaCheckoutActivity"
tools:showIn="@layout/activity_bacheckout">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/custom_margin"
app:cardBackgroundColor="@color/white"
app:cardCornerRadius="@dimen/appbar_padding_top"
app:cardElevation="@dimen/custom_margin">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/custom_margin"
android:gravity="center"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/selfie_checkout_msg"
android:textColor="@color/black"
android:padding="@dimen/appbar_padding_top"
android:textSize="@dimen/text_size_16sp"
android:textStyle="bold" />
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/img_selfie"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/_12dp"
android:background="@color/light_grey"
android:scaleType="centerCrop"
android:src="@mipmap/selfie_image"
android:visibility="gone"
app:shapeAppearanceOverlay="@style/RoundedCornerImageView" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/img_cam_selfie"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:background="@mipmap/selfie_image" />
</LinearLayout>
</androidx.cardview.widget.CardView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_margin="@dimen/appbar_padding_top"
android:background="@color/transparent"
android:gravity="center"
android:orientation="vertical"
android:weightSum="10">
<TextView
android:id="@+id/tvPrompt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/mandatory_daily_questionnaire_at_the_time_of_check_out"
android:textColor="@color/grey_dark_background"
android:padding="@dimen/appbar_padding_top"
android:textSize="@dimen/text_size_16sp"
android:textStyle="bold" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycl_questionire"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/appbar_padding_top" />
</LinearLayout>
</LinearLayout>
@@ -367,11 +367,11 @@
android:id="@+id/edt_address"
android:layout_width="0dp"
android:layout_height="80dp"
android:layout_marginRight="3dp"
android:layout_marginEnd="3dp"
android:layout_weight="6"
android:background="@drawable/rouded_corner_edittaxt"
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:layout_gravity="start|top"
android:gravity="start|top"
android:padding="@dimen/custom_layout_margin11"
android:textColor="@color/black"
android:textSize="@dimen/text_size_medium" />
@@ -706,7 +706,7 @@
</LinearLayout>
</androidx.cardview.widget.CardView>
<ExpandableListView
<com.cpm.lorealbaautomation.utils.NonScrollExpandableListView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="1400dp"
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rl_dialog"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@mipmap/popup_profile"
android:gravity="center">
</RelativeLayout>
@@ -0,0 +1,146 @@
<androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:card_view="http://schemas.android.com/tools"
android:id="@+id/card_view"
android:layout_height="wrap_content"
android:layout_margin="@dimen/custom_margin"
android:layout_width="match_parent"
app:cardBackgroundColor="@color/white"
app:cardCornerRadius="@dimen/padding_10dp"
app:cardElevation="@dimen/custom_margin">
<LinearLayout
android:layout_height="wrap_content"
android:layout_margin="@dimen/appbar_padding_top"
android:layout_width="match_parent"
android:orientation="vertical">
<TextView
android:gravity="center_vertical"
android:id="@+id/txt_question"
android:layout_gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:padding="@dimen/appbar_padding_top"
android:text="@string/settings_video_quality_title"
android:textColor="@color/black"
android:textSize="@dimen/text_size_16sp"
android:textStyle="bold" />
<LinearLayout
android:id="@+id/rlQImg"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/_20dp"
android:layout_marginTop="@dimen/appbar_padding_top"
android:layout_marginBottom="@dimen/custom_margin"
android:layout_width="match_parent"
android:orientation="horizontal"
android:visibility="gone"
android:weightSum="1">
<TextView
android:gravity="center_vertical"
android:layout_gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_weight=".8"
android:layout_width="0dp"
android:padding="@dimen/appbar_padding_top"
android:text="@string/question_image"
android:textColor="@color/black"
android:textSize="@dimen/txt_size_14sp"
android:textStyle="normal" />
<ImageView
android:contentDescription="@string/question_image"
android:id="@+id/questionImg"
android:layout_gravity="center|end"
android:layout_height="@dimen/design_navigation_icon_size"
android:layout_weight=".2"
android:layout_width="0dp"
android:src="@mipmap/camera_star"
card_view:ignore="PrivateResource" />
</LinearLayout>
<LinearLayout
android:id="@+id/editTextlayout"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/appbar_padding_top"
android:layout_marginStart="@dimen/_20dp"
android:layout_marginTop="@dimen/appbar_padding_top"
android:layout_marginBottom="@dimen/custom_margin"
android:layout_width="match_parent"
android:orientation="vertical"
android:weightSum="10">
<LinearLayout
android:background="@drawable/rouded_corner_edt"
android:gravity="center_vertical"
android:id="@+id/rlSpin"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:padding="@dimen/custom_margin">
<Spinner
android:backgroundTint="@color/colorPrimaryDark"
android:gravity="center"
android:id="@+id/sp_auditAnswer"
android:layout_gravity="center"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin1dp"
android:layout_width="match_parent" />
</LinearLayout>
<EditText
android:autofillHints="false"
android:background="@drawable/rouded_corner_edt"
android:hint="@string/type_your_answer_here"
android:id="@+id/edt_answer"
android:inputType="none"
android:visibility="gone"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:padding="@dimen/padding_10dp"
android:textColor="@color/black"
android:textSize="@dimen/txt_size_14sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/rlAnsImg"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/_20dp"
android:layout_marginTop="@dimen/appbar_padding_top"
android:layout_marginBottom="@dimen/custom_margin"
android:layout_width="match_parent"
android:orientation="horizontal"
android:weightSum="1">
<TextView
android:gravity="center_vertical"
android:layout_gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_weight=".8"
android:layout_width="0dp"
android:padding="@dimen/appbar_padding_top"
android:text="@string/anser_image"
android:textColor="@color/black"
android:textSize="@dimen/txt_size_14sp"
android:textStyle="normal" />
<ImageView
android:contentDescription="@string/anser_image"
android:id="@+id/ansImg"
android:layout_gravity="center|end"
android:layout_height="@dimen/design_navigation_icon_size"
android:layout_weight=".2"
android:layout_width="0dp"
android:src="@mipmap/camera_star"
card_view:ignore="PrivateResource" />
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
@@ -0,0 +1,40 @@
<?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:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context=".checkout.BaCheckoutActivity">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay"
app:titleTextAppearance="@style/Toolbar.TitleTextPhone"
app:titleTextColor="@color/white" />
</com.google.android.material.appbar.AppBarLayout>
<include
android:id="@+id/contentCheckout"
layout="@layout/content_bacheckout" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|start"
android:layout_margin="@dimen/appbar_padding_top"
android:contentDescription="@string/save"
android:src="@drawable/save_icon"
app:backgroundTint="@color/green" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
@@ -1,8 +1,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:card_view="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:card_view="http://schemas.android.com/tools"
android:orientation="horizontal">
<androidx.cardview.widget.CardView
@@ -17,8 +17,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/edit_text_border">
android:background="@drawable/edit_text_border"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
@@ -32,9 +32,9 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:paddingLeft="@dimen/custom_layout_margin11"
android:paddingStart="@dimen/custom_layout_margin11"
android:paddingTop="@dimen/custom_margin"
android:paddingRight="20dp"
android:paddingEnd="20dp"
android:paddingBottom="@dimen/custom_margin"
android:text="Question"
android:textColor="@color/black"
@@ -54,84 +54,72 @@
android:id="@+id/sp_auditAnswer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin1dp"
android:layout_gravity="center"
android:gravity="center"
android:backgroundTint="@color/colorPrimaryDark"
android:layout_marginLeft="@dimen/text22dp"
android:layout_marginRight="@dimen/text22dp"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginRight="@dimen/text22dp"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:visibility="gone"
/>
android:backgroundTint="@color/colorPrimaryDark"
android:gravity="center"
android:padding="@dimen/margin1dp"
android:visibility="gone" />
<EditText
android:id="@+id/edt_answer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/custom_margin35dp"
android:layout_margin="@dimen/custom_margin"
android:layout_marginRight="@dimen/custom_margin35dp"
android:background="@drawable/rouded_corner_edt"
android:focusable="true"
android:hint="type your answer here."
android:padding="@dimen/appbar_padding_top"
android:gravity="center_vertical"
android:hint="Type your answer here."
android:textColor="@color/black"
android:textSize="@dimen/text_14sp"
android:layout_gravity="center"
android:gravity="center"
android:padding="@dimen/custom_margin"
android:background="@drawable/rouded_corner_edt"
android:layout_marginLeft="@dimen/custom_margin35dp"
android:layout_marginRight="@dimen/custom_margin35dp"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:visibility="gone"/>
android:visibility="gone" />
<EditText
android:id="@+id/edt_for_others"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
android:hint="type your answer here."
android:textColor="@color/black"
android:textSize="@dimen/text_14sp"
android:layout_gravity="center"
android:gravity="center"
android:padding="@dimen/custom_margin"
android:inputType="text"
android:maxLength="100"
android:background="@drawable/rouded_corner_edt"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/custom_margin35dp"
android:layout_marginRight="@dimen/custom_margin35dp"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:visibility="gone"/>
android:background="@drawable/rouded_corner_edt"
android:focusable="true"
android:gravity="center_vertical"
android:hint="Type your answer here."
android:inputType="text"
android:maxLength="100"
android:padding="@dimen/appbar_padding_top"
android:textColor="@color/black"
android:textSize="@dimen/text_14sp"
android:visibility="gone" />
<RelativeLayout
android:id="@+id/relay_multisppener"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:layout_margin="@dimen/custom_margin3dp">
android:layout_margin="@dimen/custom_margin3dp"
android:visibility="gone">
<com.cpm.lorealbaautomation.makeupexpert.BaProfileMultiSelection
android:id="@+id/searchSpinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/margin_30dp"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginRight="@dimen/margin_30dp"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:backgroundTint="@color/colorPrimaryDark"
android:gravity="center_vertical"
android:textColor="@color/white"
android:textSize="@dimen/text_size_16sp"
card_view:hintText="- Select -"
android:gravity="center_vertical"
android:layout_marginLeft="@dimen/margin_30dp"
android:layout_marginRight="@dimen/margin_30dp"
android:layout_marginTop="@dimen/custom_margin3dp"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:backgroundTint="@color/colorPrimaryDark"/>
<TextView
android:id="@+id/tv_mer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="5dp"
android:visibility="gone"
android:text="Select "
android:textSize="@dimen/text_14sp" />
app:hintText="- Select -" />
</RelativeLayout>
@@ -142,14 +130,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="@dimen/custom_margin"
android:gravity="center"
android:visibility="gone"
android:layout_margin="@dimen/custom_margin">
android:visibility="gone">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:orientation="horizontal">
<ImageView
@@ -158,7 +146,6 @@
android:layout_height="@dimen/custom_margin35dp"
android:background="@mipmap/camera_star" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
@@ -6,6 +6,4 @@
android:layout_gravity="center"
android:background="@mipmap/popup_counter"
android:gravity="center">
</RelativeLayout>
@@ -0,0 +1,85 @@
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/grey_background"
android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".checkout.BaCheckoutActivity"
tools:showIn="@layout/activity_bacheckout">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/custom_margin"
app:cardBackgroundColor="@color/white"
app:cardCornerRadius="@dimen/appbar_padding_top"
app:cardElevation="@dimen/custom_margin">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/custom_margin"
android:gravity="center"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/selfie_checkout_msg"
android:textColor="@color/black"
android:padding="@dimen/custom_margin"
android:textSize="@dimen/txt_size_14sp"
android:textStyle="bold" />
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/img_selfie"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/_12dp"
android:background="@color/light_grey"
android:scaleType="centerCrop"
android:src="@mipmap/selfie_image"
android:visibility="gone"
app:shapeAppearanceOverlay="@style/RoundedCornerImageView" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/img_cam_selfie"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:background="@mipmap/selfie_image" />
</LinearLayout>
</androidx.cardview.widget.CardView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_margin="@dimen/custom_margin"
android:background="@color/transparent"
android:gravity="center"
android:orientation="vertical"
android:weightSum="10">
<TextView
android:id="@+id/tvPrompt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/mandatory_daily_questionnaire_at_the_time_of_check_out"
android:textColor="@color/grey_dark_background"
android:padding="@dimen/custom_margin"
android:textSize="@dimen/txt_size_14sp"
android:textStyle="bold" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycl_questionire"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/custom_margin" />
</LinearLayout>
</LinearLayout>
+11 -12
View File
@@ -370,11 +370,11 @@
android:id="@+id/edt_address"
android:layout_width="0dp"
android:layout_height="100dp"
android:layout_gravity="center_vertical"
android:layout_marginRight="3dp"
android:layout_gravity="start|top"
android:layout_marginEnd="3dp"
android:layout_weight="6"
android:background="@drawable/rouded_corner_edittaxt"
android:gravity="center_vertical"
android:gravity="start|top"
android:padding="@dimen/custom_margin"
android:textColor="@color/black"
android:textSize="@dimen/text_14sp" />
@@ -629,7 +629,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="3dp"
android:layout_marginEnd="3dp"
android:layout_weight="6"
android:background="@color/gray"
android:enabled="false"
@@ -662,7 +662,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="3dp"
android:layout_marginEnd="3dp"
android:layout_weight="6"
android:background="@color/gray"
android:enabled="false"
@@ -688,7 +688,7 @@
android:layout_weight="4"
android:gravity="center_vertical"
android:padding="@dimen/custom_margin"
android:text="Current BP Grade"
android:text="@string/current_bp_grade"
android:textColor="@color/black"
android:textSize="@dimen/text_14sp" />
@@ -697,7 +697,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="3dp"
android:layout_marginEnd="3dp"
android:layout_weight="6"
android:background="@color/gray"
android:enabled="false"
@@ -710,15 +710,14 @@
</LinearLayout>
</androidx.cardview.widget.CardView>
<ExpandableListView
<com.cpm.lorealbaautomation.utils.NonScrollExpandableListView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="1800dp"
android:layout_marginTop="@dimen/custom_margin"
android:layout_marginBottom="@dimen/custom_margin3dp"
android:layout_height="wrap_content"
android:layout_margin="@dimen/custom_margin"
android:cacheColorHint="#00000000"
android:divider="@null"
android:dividerHeight="0dp"
android:dividerHeight="@dimen/margin1dp"
android:scrollingCache="false" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
@@ -3,23 +3,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<!-- android:background="@drawable/rouded_corner"-->
<!--<ImageView
android:id="@+id/imageView"
android:layout_width="50dp"
android:layout_height="50dp"
android:padding="5dp"
android:src="@drawable/ic_launcher" />&lt;!&ndash;Make sure image is present in Drawable folder&ndash;&gt;
-->
<TextView
android:id="@+id/tv_ans"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="@dimen/custom_margin"
android:text="Demo"
android:gravity="center"
android:padding="@dimen/custom_margin"
android:text="Demo"
android:textColor="@color/black"
android:textSize="@dimen/txt_size_12sp"/>
android:textSize="@dimen/sp13" />
</LinearLayout>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rl_dialog"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@mipmap/popup_profile"
android:gravity="center">
</RelativeLayout>
+146
View File
@@ -0,0 +1,146 @@
<androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:card_view="http://schemas.android.com/tools"
android:id="@+id/card_view"
android:layout_height="wrap_content"
android:layout_margin="@dimen/custom_margin"
android:layout_width="match_parent"
app:cardBackgroundColor="@color/white"
app:cardCornerRadius="@dimen/padding_10dp"
app:cardElevation="@dimen/custom_margin">
<LinearLayout
android:layout_height="wrap_content"
android:layout_margin="@dimen/custom_margin"
android:layout_width="match_parent"
android:orientation="vertical">
<TextView
android:gravity="center_vertical"
android:id="@+id/txt_question"
android:layout_gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:padding="@dimen/appbar_padding_top"
android:text="@string/settings_video_quality_title"
android:textColor="@color/black"
android:textSize="@dimen/txt_size_14sp"
android:textStyle="bold" />
<LinearLayout
android:id="@+id/rlQImg"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/_20dp"
android:layout_marginTop="@dimen/appbar_padding_top"
android:layout_marginBottom="@dimen/custom_margin"
android:layout_width="match_parent"
android:orientation="horizontal"
android:visibility="gone"
android:weightSum="1">
<TextView
android:gravity="center_vertical"
android:layout_gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_weight=".8"
android:layout_width="0dp"
android:padding="@dimen/appbar_padding_top"
android:text="@string/question_image"
android:textColor="@color/black"
android:textSize="@dimen/txt_size_12sp"
android:textStyle="normal" />
<ImageView
android:contentDescription="@string/question_image"
android:id="@+id/questionImg"
android:layout_gravity="center|end"
android:layout_height="@dimen/design_navigation_icon_size"
android:layout_weight=".2"
android:layout_width="0dp"
android:src="@mipmap/camera_star"
card_view:ignore="PrivateResource" />
</LinearLayout>
<LinearLayout
android:id="@+id/editTextlayout"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/appbar_padding_top"
android:layout_marginStart="@dimen/_20dp"
android:layout_marginTop="@dimen/appbar_padding_top"
android:layout_marginBottom="@dimen/custom_margin"
android:layout_width="match_parent"
android:orientation="vertical"
android:weightSum="10">
<LinearLayout
android:background="@drawable/rouded_corner_edt"
android:gravity="center_vertical"
android:id="@+id/rlSpin"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:padding="@dimen/custom_margin">
<Spinner
android:backgroundTint="@color/colorPrimaryDark"
android:gravity="center"
android:id="@+id/sp_auditAnswer"
android:layout_gravity="center"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin1dp"
android:layout_width="match_parent" />
</LinearLayout>
<EditText
android:autofillHints="false"
android:background="@drawable/rouded_corner_edt"
android:hint="@string/type_your_answer_here"
android:id="@+id/edt_answer"
android:inputType="none"
android:visibility="gone"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:padding="@dimen/padding_10dp"
android:textColor="@color/black"
android:textSize="@dimen/text_14sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/rlAnsImg"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/_20dp"
android:layout_marginTop="@dimen/appbar_padding_top"
android:layout_marginBottom="@dimen/custom_margin"
android:layout_width="match_parent"
android:orientation="horizontal"
android:weightSum="1">
<TextView
android:gravity="center_vertical"
android:layout_gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_weight=".8"
android:layout_width="0dp"
android:padding="@dimen/appbar_padding_top"
android:text="@string/anser_image"
android:textColor="@color/black"
android:textSize="@dimen/txt_size_12sp"
android:textStyle="normal" />
<ImageView
android:contentDescription="@string/anser_image"
android:id="@+id/ansImg"
android:layout_gravity="center|end"
android:layout_height="@dimen/design_navigation_icon_size"
android:layout_weight=".2"
android:layout_width="0dp"
android:src="@mipmap/camera_star"
card_view:ignore="PrivateResource" />
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
@@ -75,13 +75,15 @@
android:id="@+id/nav_leave_ledger"
android:icon="@mipmap/leave_ledger"
android:title="@string/leave_ledger_tba" />
<item
android:id="@+id/nav_services"
android:icon="@mipmap/serivces"
android:title="@string/menu_service" />
<item
android:id="@+id/nav_counter_checkout"
android:icon="@mipmap/checkout_icon"
android:title="@string/menu_counter_checkout" />
<item
android:id="@+id/nav_logout"
android:icon="@mipmap/logout"
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+1
View File
@@ -67,6 +67,7 @@
<dimen name="text100dp">100dp</dimen>
<dimen name="text_size_35sp">35sp</dimen>
<dimen name="dp125">125dp</dimen>
<dimen name="sp13">13sp</dimen>
<integer name="weight">1</integer>
+9
View File
@@ -43,6 +43,7 @@
<string name="menu_reset_password" translatable="false">Change Password</string>
<string name="menu_manual_upload" translatable="false">Upload Sync</string>
<string name="menu_logout" translatable="false">Logout</string>
<string name="menu_counter_checkout" translatable="false">Checkout</string>
<string name="title_activity_auto_update" translatable="false">AutoUpdateActivity</string>
<string name="new_update_available" translatable="false">New Update Available</string>
<string name="ok" translatable="false">OK</string>
@@ -375,5 +376,13 @@
<string name="distance_from_the_store" translatable="false">your current distance from Store/Counter is </string>
<string name="you_need_to_be_in_the_store" translatable="false">of the Store/Counter premises to Checkin/Checkout</string>
<string name="first_geotag_the_store" translatable="false">You need to geotag Store/Counter.</string>
<string name="selfie_checkout_msg" translatable="false">Click Selfie in front of counter at Checkout</string>
<string name="question_image" translatable="false">Question Image</string>
<string name="type_your_answer_here" translatable="false">type your answer here.</string>
<string name="anser_image" translatable="false">Answer Image</string>
<string name="mandatory_daily_questionnaire_at_the_time_of_check_out" translatable="false">Mandatory daily questionnaire at the time of check-out</string>
<string name="current_bp_grade">Current BP Grade</string>
<string name="first_please_complete_your_profile">First, please complete your profile.</string>
////
</resources>
+30
View File
@@ -111,4 +111,34 @@
<item name="android:textColor">#000000</item> <!-- Optional -->
</style>
<style name="RoundedCornerImageView" parent="">
<item name="cornerFamily">rounded</item>
<item name="cornerSize">16dp</item>
</style>
<style name="MyMaterialAlertDialog" parent="Theme.MaterialComponents.Light.Dialog.Alert">
<!-- Dialog background -->
<item name="android:background">@color/white</item>
<item name="colorSurface">@color/white</item>
<!-- Text and icon color -->
<item name="android:textColorPrimary">@color/black</item>
<item name="colorOnSurface">@color/black</item>
<!-- Button and branding colors -->
<item name="colorPrimary">@color/colorPrimary</item>
<!-- Title & message appearance -->
<item name="textAppearanceHeadline6">@style/DialogTitleText</item>
<item name="textAppearanceBody2">@style/DialogMessageText</item>
</style>
<style name="DialogTitleText" parent="TextAppearance.MaterialComponents.Headline6">
<item name="android:textColor">@color/black</item>
</style>
<style name="DialogMessageText" parent="TextAppearance.MaterialComponents.Body2">
<item name="android:textColor">@color/black</item>
</style>
</resources>