|
@@ -16,7 +16,7 @@
|
|
android:id="@+id/fragmentToolbar"
|
|
android:id="@+id/fragmentToolbar"
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- app:countdownTime="60"
|
|
|
|
|
|
+ app:countdownTime="-1"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
@@ -37,21 +37,27 @@
|
|
android:layout_height="280dp"
|
|
android:layout_height="280dp"
|
|
android:src="@mipmap/ic_paying" />
|
|
android:src="@mipmap/ic_paying" />
|
|
|
|
|
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
|
+ style="@style/wrap"
|
|
|
|
+ android:layout_marginTop="70dp"
|
|
|
|
+ android:text="@{@string/amount_with_discount(viewModel.amount, viewModel.discount), default=@string/amount_with_discount}"
|
|
|
|
+ android:textSize="42sp" />
|
|
|
|
+
|
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
|
+ style="@style/wrap"
|
|
|
|
+ android:layout_marginTop="40dp"
|
|
|
|
+ android:text="@{@string/amount_pay(viewModel.netAmount), default=@string/amount_pay}"
|
|
|
|
+ android:textColor="@color/colorYellow"
|
|
|
|
+ android:textSize="72sp" />
|
|
|
|
+
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
style="@style/wrap"
|
|
style="@style/wrap"
|
|
android:layout_marginTop="100dp"
|
|
android:layout_marginTop="100dp"
|
|
- android:layout_marginBottom="180dp"
|
|
|
|
android:paddingHorizontal="42dp"
|
|
android:paddingHorizontal="42dp"
|
|
android:paddingVertical="8dp"
|
|
android:paddingVertical="8dp"
|
|
android:text="@{viewModel.scanTip, default=@string/plz_scan}"
|
|
android:text="@{viewModel.scanTip, default=@string/plz_scan}"
|
|
android:textSize="54sp" />
|
|
android:textSize="54sp" />
|
|
|
|
|
|
- <androidx.appcompat.widget.AppCompatTextView
|
|
|
|
- style="@style/wrap"
|
|
|
|
- android:text="@{viewModel.amountText, default=@string/amount_with_discount}"
|
|
|
|
- android:textColor="@color/colorYellow"
|
|
|
|
- android:textSize="52sp" />
|
|
|
|
-
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
style="@style/wrap"
|
|
style="@style/wrap"
|
|
android:background="@drawable/border_gray"
|
|
android:background="@drawable/border_gray"
|