170 lines
7.1 KiB
XML
170 lines
7.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
orientation="vertical"
|
||
|
background="#f5f3f6"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent">
|
||
|
<androidx.core.widget.NestedScrollView
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
id="@+id/ll_root_layout"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
background="#ffffff"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<ImageView
|
||
|
id="@+id/iv_e_coupon_detail"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
adjustViewBounds="true"
|
||
|
contentDescription="@null"/>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
background="#ffffff"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<TextView
|
||
|
id="@+id/tv_e_coupon_detail_name"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017875"/>
|
||
|
<TextView
|
||
|
id="@+id/tv_e_coupon_detail_description"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="8dp"
|
||
|
layout_marginBottom="16dp"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017548"/>
|
||
|
<View style="@style/2132018230"/>
|
||
|
<TextView
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
text="@string/e_coupon_ref_id"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017923"/>
|
||
|
<TextView
|
||
|
id="@+id/tv_ref_id_value"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginBottom="16dp"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017548"/>
|
||
|
<View style="@style/2132018230"/>
|
||
|
<TextView
|
||
|
id="@+id/tv_time_expired_title"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017923"/>
|
||
|
<TextView
|
||
|
id="@+id/tv_validity_value"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginBottom="16dp"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017548"/>
|
||
|
<View
|
||
|
id="@+id/vw_line_above_time_count_down_layout"
|
||
|
style="@style/2132018230"/>
|
||
|
<LinearLayout
|
||
|
gravity="center"
|
||
|
orientation="horizontal"
|
||
|
id="@+id/ll_time_count_down_layout"
|
||
|
padding="20dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<ImageView
|
||
|
id="@+id/iv_e_coupon_timer_active"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
src="@drawable/ic_e_coupon_timer_active"/>
|
||
|
<TextView
|
||
|
textSize="24sp"
|
||
|
textColor="#06bf59"
|
||
|
id="@+id/tv_time_count_down"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginStart="4dp"
|
||
|
style="@style/2132017959"/>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
id="@+id/ll_bar_code_layout"
|
||
|
paddingBottom="16dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<ImageView
|
||
|
layout_gravity="center"
|
||
|
id="@+id/iv_qr_code"
|
||
|
layout_width="@dimen/2131166526"
|
||
|
layout_height="@dimen/2131166526"/>
|
||
|
<TextView
|
||
|
layout_gravity="center"
|
||
|
id="@+id/tv_qr_code_result"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
style="@style/2132017880"/>
|
||
|
<ImageView
|
||
|
layout_gravity="center"
|
||
|
id="@+id/iv_barcode"
|
||
|
layout_width="250dp"
|
||
|
layout_height="90dp"
|
||
|
layout_marginTop="30dp"
|
||
|
scaleType="fitXY"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"/>
|
||
|
<TextView
|
||
|
layout_gravity="center"
|
||
|
id="@+id/tv_barcode_result"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
style="@style/2132017884"/>
|
||
|
</LinearLayout>
|
||
|
<View style="@style/2132018228"/>
|
||
|
</LinearLayout>
|
||
|
<TextView
|
||
|
textColor="#f05f61"
|
||
|
id="@+id/tv_e_coupon_detail_remark"
|
||
|
visibility="visible"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
layout_marginBottom="16dp"
|
||
|
text="@string/e_coupon_for_staff_member_only_remark"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017548"/>
|
||
|
<Button
|
||
|
textColor="#7631c1"
|
||
|
id="@+id/bt_deactivate"
|
||
|
background="@drawable/bg_button_transparent"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="50dp"
|
||
|
layout_marginBottom="18dp"
|
||
|
text="@string/e_coupon_scan_complete"
|
||
|
layout_weight="1"
|
||
|
layout_marginStart="20dp"
|
||
|
layout_marginEnd="20dp"
|
||
|
style="@style/2132017536"/>
|
||
|
</LinearLayout>
|
||
|
</androidx.core.widget.NestedScrollView>
|
||
|
</LinearLayout>
|