edit store profile

This commit is contained in:
Gracia Hotmauli
2025-05-26 04:41:47 +07:00
parent e9b4d7a8f1
commit 6a887a22aa
10 changed files with 392 additions and 389 deletions

View File

@ -2,6 +2,7 @@
<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:fitsSystemWindows="true"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
@ -104,15 +105,34 @@
style="@style/body_medium"
android:layout_marginEnd="4dp"/>
<EditText
android:id="@+id/edt_jenis_toko"
<!-- Spinner Dropdown dengan Chevron -->
<LinearLayout
android:id="@+id/layout_jenis_toko"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="@drawable/bg_text_field_disabled"
android:padding="8dp"
style="@style/body_small"
android:layout_marginTop="4dp"
android:enabled="false"/>
android:gravity="center_vertical"
android:layout_marginTop="10dp">
<Spinner
android:id="@+id/spinner_jenis_toko"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="8dp"
style="@style/body_small"
android:background="@null" />
<!-- Chevron Down Icon -->
<ImageView
android:layout_width="16dp"
android:layout_height="16dp"
android:src="@drawable/ic_down"
android:layout_marginEnd="8dp"
android:contentDescription="Chevron Down" />
</LinearLayout>
</LinearLayout>
@ -160,7 +180,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Toko Aktif"
android:text="Toko Libur"
style="@style/label_large"/>
<Switch

View File

@ -198,7 +198,7 @@
<TextView
style="@style/headline_small"
android:id="@+id/tv_num_perlu_tagihan"
android:id="@+id/tv_num_pesanan_masuk"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
@ -206,10 +206,10 @@
<TextView
style="@style/label_small"
android:id="@+id/tv_perlu_tagihan"
android:id="@+id/tv_pesanan_masuk"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Perlu Tagihan"/>
android:text="Pesanan Masuk"/>
</LinearLayout>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView
android:id="@+id/iv_preview_store_img"
android:layout_width="300dp"
android:layout_height="300dp"
android:scaleType="fitCenter"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>