button and toko saya activity

This commit is contained in:
gracia
2025-01-29 19:48:34 +07:00
parent 96761818b3
commit f68ca8159c
8 changed files with 39 additions and 9 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/blue_500" />
<corners android:radius="5dp" />
</shape>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/black_100" />
<corners android:radius="5dp" />
</shape>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="5dp" />
<stroke
android:width="2dp"
android:color="@color/blue_500" />
</shape>

View File

@ -7,12 +7,18 @@
android:layout_height="match_parent"
tools:context=".ui.TokoSayaActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="halo"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<include layout="@layout/header"
android:id="@+id/header_toko_saya"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_profile"
android:layout_width="match_parent"
android:layout_height="143dp"
app:layout_constraintTop_toBottomOf="@id/header_toko_saya"
app:layout_constraintStart_toStartOf="parent">
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -8,7 +8,7 @@
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@drawable/header_bg"
android:background="@drawable/bg_header"
android:paddingHorizontal="@dimen/horizontal_safe_area"
android:paddingVertical="@dimen/vertical_safe_area">

View File

@ -1,5 +1,5 @@
[versions]
agp = "8.5.2"
agp = "8.7.3"
kotlin = "1.9.0"
coreKtx = "1.10.1"
junit = "4.13.2"

View File

@ -1,6 +1,6 @@
#Wed Oct 16 14:37:43 ICT 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists