update logo

This commit is contained in:
shaulascr
2025-08-26 14:33:28 +07:00
parent 3627cdd151
commit 96f6e8c251
6 changed files with 31 additions and 6 deletions

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/white" />
<!-- Logo with controlled size -->
<item
android:width="48dp"
android:height="48dp"
android:drawable="@drawable/logo_psb_only"
android:gravity="center" />
</layer-list>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:width="288dp"
android:height="288dp"
android:drawable="@color/white" />
<item android:drawable="@color/white" />
<!-- Logo with controlled size -->
<item
android:width="120dp"
android:height="120dp"
android:drawable="@drawable/logo_psb_crop"
android:gravity="center" />
</layer-list>

View File

@ -7,12 +7,27 @@
android:theme="@style/Theme.Ecommerce_serang"
tools:context=".ui.home.HomeFragment">
<ImageView
android:id="@+id/logo_psb_home"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginStart="8dp"
android:layout_marginBottom="4dp"
android:src="@drawable/logo_home"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintHorizontal_chainStyle="spread_inside"
app:layout_constraintEnd_toStartOf="@id/searchContainer" />
<include
android:id="@+id/searchContainer"
layout="@layout/view_search"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
app:layout_constraintStart_toEndOf="@id/logo_psb_home"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.core.widget.NestedScrollView

View File

@ -329,7 +329,7 @@
<!--Splash screen themes-->
<style name="Theme.App.SplashScreen" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/white</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/logo_psb</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/splash_drawable</item>
<item name="windowSplashScreenAnimationDuration">1000</item>
<item name="android:windowSplashScreenBehavior" tools:targetApi="33">icon_preferred</item>
<item name="postSplashScreenTheme">@style/Theme.Ecommerce_serang</item>