mirror of
https://github.com/shaulascr/ecommerce_serang.git
synced 2025-08-13 18:52:20 +00:00
185 lines
7.6 KiB
XML
185 lines
7.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/main"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".ui.order.detail.AddEvidencePaymentActivity">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="#FFFFFF"
|
|
app:navigationIcon="@drawable/ic_back_24"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:text="Kirim Bukti Bayar"
|
|
android:textColor="#000000"
|
|
android:textSize="18sp"
|
|
android:layout_marginVertical="8dp"
|
|
android:fontFamily="@font/dmsans_bold" />
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
<View
|
|
android:id="@+id/divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="#EEEEEE"
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar" />
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/divider">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Unggah Foto *"
|
|
android:fontFamily="@font/dmsans_semibold"
|
|
android:textSize="16sp" />
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/cardAddPhoto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="0dp"
|
|
app:cardBackgroundColor="#FFFFFF">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="8dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tvAddPhoto"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Tambah Foto"
|
|
android:textColor="#1E88E5"
|
|
android:textSize="14sp" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/frameUploadImage"
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@drawable/edit_text_background"
|
|
android:padding="8dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/ivUploadedImage"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
android:visibility="gone" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layoutUploadPlaceholder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/edit_text_background"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:src="@drawable/baseline_upload_file_24" />
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Metode Pembayaran *"
|
|
android:fontFamily="@font/dmsans_semibold"
|
|
android:textSize="16sp" />
|
|
|
|
<Spinner
|
|
android:id="@+id/spinnerPaymentMethod"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@drawable/edit_text_background"
|
|
android:minHeight="50dp"
|
|
android:padding="12dp" />
|
|
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Nomor Rekening / Nomor HP *"
|
|
android:fontFamily="@font/dmsans_semibold"
|
|
android:textSize="16sp" />
|
|
|
|
<EditText
|
|
android:id="@+id/etAccountNumber"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@drawable/edit_text_background"
|
|
android:hint="Isi nomor rekening atau nomor hp pembayaran"
|
|
android:inputType="text"
|
|
android:minHeight="50dp"
|
|
android:textSize="14sp"
|
|
android:padding="12dp" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Tanggal Pembayaran *"
|
|
android:fontFamily="@font/dmsans_semibold"
|
|
android:textSize="16sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvPaymentDate"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@drawable/edit_text_background"
|
|
android:drawableEnd="@drawable/ic_calendar"
|
|
android:drawablePadding="8dp"
|
|
android:hint="Pilih tanggal"
|
|
android:minHeight="50dp"
|
|
android:padding="12dp" />
|
|
|
|
<Button
|
|
android:id="@+id/btnSubmit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:background="@drawable/bg_button_filled"
|
|
android:text="Kirim"
|
|
android:textAllCaps="false"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="16sp"
|
|
android:padding="12dp" />
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |