mirror of
https://github.com/shaulascr/ecommerce_serang.git
synced 2025-12-15 15:41:02 +00:00
update logo
This commit is contained in:
10
app/src/main/res/drawable/logo_home.xml
Normal file
10
app/src/main/res/drawable/logo_home.xml
Normal 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>
|
||||
BIN
app/src/main/res/drawable/logo_psb_only.png
Normal file
BIN
app/src/main/res/drawable/logo_psb_only.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1000 KiB |
BIN
app/src/main/res/drawable/logo_psb_small.png
Normal file
BIN
app/src/main/res/drawable/logo_psb_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
@ -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>
|
||||
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user