mirror of
https://github.com/shaulascr/ecommerce_serang.git
synced 2025-08-14 02:52:22 +00:00
update cart wholesale
This commit is contained in:
12
app/src/main/res/drawable/btn_minus_24dp.xml
Normal file
12
app/src/main/res/drawable/btn_minus_24dp.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M20,12H12H4"
|
||||
android:strokeWidth="2"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeLineCap="round"/>
|
||||
</vector>
|
@ -21,6 +21,16 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/header"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvWholesaleWarning"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#F44336"
|
||||
android:textSize="12sp"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toTopOf="@id/bottomCheckoutLayout" />
|
||||
|
||||
<!-- Bottom Checkout Layout -->
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/bottomCheckoutLayout"
|
||||
@ -64,6 +74,8 @@
|
||||
app:layout_constraintStart_toEndOf="@+id/tvTotalLabel"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnCheckout"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -79,7 +79,7 @@
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:background="@drawable/bg_button_filled"
|
||||
android:src="@drawable/baseline_add_24"
|
||||
android:src="@drawable/btn_minus_24dp"
|
||||
app:tint="@color/white"/>
|
||||
|
||||
<TextView
|
||||
|
@ -54,6 +54,17 @@
|
||||
app:layout_constraintStart_toStartOf="@+id/tvProductName"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tvProductName" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvWholesaleIndicator"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Harga Grosir"
|
||||
android:textColor="@color/blue_500"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvPrice"
|
||||
app:layout_constraintStart_toStartOf="@id/tvPrice" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/quantityController"
|
||||
android:layout_width="wrap_content"
|
||||
|
Reference in New Issue
Block a user