Skip to content

Commit

Permalink
feat: splash 추가 #56
Browse files Browse the repository at this point in the history
  • Loading branch information
easyhz committed Aug 12, 2024
1 parent a5ad6f2 commit 3dbee6d
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
android:exported="true"
android:label="@string/app_name"
android:windowSoftInputMode="adjustResize"
android:theme="@style/Theme.Noffice">
android:theme="@style/Theme.Noffice.Splash">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.easyhz.noffice.navigation.home.screen

import kotlinx.serialization.Serializable

@Serializable
object Splash
9 changes: 9 additions & 0 deletions app/src/main/res/values/splash.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Noffice.Splash" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">#FF212121</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash_background</item>
<item name="windowSplashScreenAnimationDuration">100</item>
<item name="postSplashScreenTheme">@style/Theme.Noffice</item>
</style>
</resources>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="200dp"
android:height="200dp"
android:viewportWidth="200"
android:viewportHeight="200">
<path
android:pathData="M0,0h200v200h-200z"
android:fillColor="#212121"/>
</vector>
12 changes: 12 additions & 0 deletions core/design-system/src/main/res/drawable/ic_splash_logo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="115dp"
android:height="101dp"
android:viewportWidth="115"
android:viewportHeight="101">
<path
android:pathData="M36.54,84.93C29.59,84.93 23.58,80.74 20.43,73.68C18.57,69.53 17.78,64.65 18.01,58.77C18.48,46.94 21.55,34.58 27.44,24.26C21.71,20.72 14.08,17.34 3.94,14.64C1.11,13.89 -0.57,10.99 0.18,8.16C0.93,5.34 3.83,3.65 6.65,4.41C14.94,6.61 24.77,10.11 33.5,15.59C39.85,8.16 48.22,2.71 58.7,0.77C69.43,-1.21 80.66,0.66 89.51,5.91C100.93,12.68 108.79,24.45 111.07,38.21C111.77,42.39 113.51,50.3 114.64,53.85C115.52,56.63 113.98,59.61 111.19,60.49C108.41,61.38 105.43,59.84 104.54,57.05C103.27,53.04 101.39,44.56 100.63,39.94C98.88,29.43 92.71,20.11 84.11,15.02C77.43,11.06 68.87,9.66 60.63,11.19C53.02,12.59 46.83,16.52 41.98,21.95C45.24,24.89 48.13,28.23 50.45,32.02C54.6,38.78 56.82,46.99 57.06,56.41C57.21,62.59 56.39,67.71 54.57,72.06C51.32,79.79 44.32,84.85 36.73,84.93C36.67,84.93 36.6,84.93 36.54,84.93ZM35.91,30.76C31.37,39.26 28.98,49.43 28.59,59.19C28.43,63.4 28.92,66.73 30.1,69.36C31.53,72.58 33.82,74.34 36.54,74.34C36.56,74.34 36.59,74.34 36.61,74.34C39.98,74.31 43.19,71.8 44.81,67.96C46.04,65.02 46.59,61.33 46.47,56.67C46.29,49.25 44.55,42.63 41.43,37.56C40.15,35.47 38.37,33.15 35.91,30.76Z"
android:fillColor="#26D961"/>
<path
android:pathData="M79.84,101C64.67,101 56.79,86.83 56.44,86.17C55.04,83.6 56,80.38 58.57,78.99C61.13,77.6 64.33,78.55 65.73,81.1C66.01,81.59 71.97,92.04 82.49,90.17C93.18,88.29 95.1,76.06 95.12,75.93C95.55,73.04 98.25,71.04 101.13,71.47C104.03,71.9 106.02,74.59 105.6,77.48C105.47,78.29 102.45,97.4 84.33,100.6C82.77,100.88 81.27,101 79.84,101H79.84Z"
android:fillColor="#26D961"/>
</vector>

0 comments on commit 3dbee6d

Please sign in to comment.