Skip to content

Commit

Permalink
Merge pull request #170 from TeamDMU/design/splash
Browse files Browse the repository at this point in the history
Design : ์Šคํ”Œ๋ž˜์‹œ ํ™”๋ฉด ๋ฆฌ๋””์ž์ธ
  • Loading branch information
huiwoo-jo authored Feb 24, 2024
2 parents 1b4af7c + b8e8f34 commit 6bcf75b
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 4 deletions.
34 changes: 34 additions & 0 deletions app/src/main/res/drawable/ic_logo_text.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="100dp"
android:height="16dp"
android:viewportWidth="100"
android:viewportHeight="16">
<group>
<clip-path
android:pathData="M0,0.33h100v14.71h-100z"/>
<path
android:pathData="M1.47,0.33C0.66,0.33 0,0.99 0,1.8V13.57C0,14.38 0.66,15.04 1.47,15.04H10.29C12.73,15.04 14.71,13.06 14.71,10.63V4.75C14.71,2.31 12.73,0.33 10.29,0.33H1.47ZM3.68,3.27C3.27,3.27 2.94,3.6 2.94,4.01V11.36C2.94,11.77 3.27,12.1 3.68,12.1H9.56C10.78,12.1 11.76,11.11 11.76,9.89V5.48C11.76,4.26 10.78,3.27 9.56,3.27H3.68Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
<path
android:pathData="M17.06,3.27C17.06,1.65 18.38,0.33 20,0.33H22.94C23.33,0.33 23.69,0.41 24.03,0.54C24.27,0.64 24.55,0.64 24.79,0.54C25.13,0.41 25.5,0.33 25.88,0.33H28.82C30.45,0.33 31.76,1.65 31.76,3.27V14.01C31.76,14.58 31.3,15.04 30.74,15.04H29.85C29.28,15.04 28.82,14.58 28.82,14.01V4.01C28.82,3.6 28.49,3.27 28.09,3.27H26.62C26.21,3.27 25.88,3.6 25.88,4.01V14.01C25.88,14.58 25.42,15.04 24.85,15.04H23.97C23.4,15.04 22.94,14.58 22.94,14.01V4.01C22.94,3.6 22.61,3.27 22.21,3.27H20.74C20.33,3.27 20,3.6 20,4.01V14.01C20,14.58 19.54,15.04 18.97,15.04H18.09C17.52,15.04 17.06,14.58 17.06,14.01V3.27Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
<path
android:pathData="M54.12,0.33C52.49,0.33 51.18,1.65 51.18,3.27V12.1C51.18,13.72 52.49,15.04 54.12,15.04H62.94C64.57,15.04 65.88,13.72 65.88,12.1V3.27C65.88,1.65 64.57,0.33 62.94,0.33H54.12ZM55.59,3.27C54.78,3.27 54.12,3.93 54.12,4.75V10.63C54.12,11.44 54.78,12.1 55.59,12.1H61.47C62.28,12.1 62.94,11.44 62.94,10.63V4.75C62.94,3.93 62.28,3.27 61.47,3.27H55.59Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
<path
android:pathData="M34.12,3.27C34.12,1.65 35.43,0.33 37.06,0.33H47.79C48.36,0.33 48.82,0.79 48.82,1.36V2.25C48.82,2.81 48.36,3.27 47.79,3.27H38.09C37.52,3.27 37.06,3.74 37.06,4.3V14.01C37.06,14.58 36.6,15.04 36.03,15.04H35.15C34.58,15.04 34.12,14.58 34.12,14.01V3.27ZM38.53,7.54C38.53,8.11 38.99,8.57 39.56,8.57H46.91C47.48,8.57 47.94,8.11 47.94,7.54V6.66C47.94,6.09 47.48,5.63 46.91,5.63H39.56C38.99,5.63 38.53,6.09 38.53,6.66V7.54Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
<path
android:pathData="M85.29,1.36C85.29,0.79 85.75,0.33 86.32,0.33H87.21C87.77,0.33 88.24,0.79 88.24,1.36V11.07C88.24,11.64 88.7,12.1 89.26,12.1H96.03C96.6,12.1 97.06,11.64 97.06,11.07V1.36C97.06,0.79 97.52,0.33 98.09,0.33H98.97C99.54,0.33 100,0.79 100,1.36V12.1C100,13.72 98.68,15.04 97.06,15.04H88.24C86.61,15.04 85.29,13.72 85.29,12.1V1.36Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
<path
android:pathData="M69.26,0.33C68.7,0.33 68.24,0.79 68.24,1.36V8.13V14.01C68.24,14.58 68.7,15.04 69.26,15.04H70.15C70.72,15.04 71.18,14.58 71.18,14.01V9.89C71.18,9.49 71.51,9.16 71.91,9.16H74.82C74.97,9.16 75.1,9.24 75.2,9.34L80.52,14.66C80.93,15.07 81.58,15.07 81.98,14.66L82.6,14.04C83.01,13.64 83.01,12.99 82.6,12.58L79.76,9.74C79.54,9.52 79.7,9.16 80,9.16C81.62,9.16 82.94,7.84 82.94,6.22V3.27C82.94,1.65 81.62,0.33 80,0.33H70.15H69.26ZM71.76,3.27C71.44,3.27 71.18,3.54 71.18,3.86V5.63C71.18,5.95 71.44,6.22 71.76,6.22H78.97C79.54,6.22 80,5.75 80,5.19V4.3C80,3.74 79.54,3.27 78.97,3.27H71.76Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
</group>
</vector>
46 changes: 46 additions & 0 deletions app/src/main/res/drawable/ic_splash.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:viewportWidth="48"
android:viewportHeight="48">
<group>
<clip-path
android:pathData="M16,30.2h15v2.206h-15z"/>
<path
android:pathData="M16.221,30.2C16.099,30.2 16,30.299 16,30.42V32.185C16,32.307 16.099,32.406 16.221,32.406H17.544C17.91,32.406 18.206,32.11 18.206,31.744V30.862C18.206,30.496 17.91,30.2 17.544,30.2H16.221ZM16.552,30.641C16.491,30.641 16.441,30.691 16.441,30.751V31.854C16.441,31.915 16.491,31.965 16.552,31.965H17.434C17.617,31.965 17.765,31.816 17.765,31.634V30.972C17.765,30.789 17.617,30.641 17.434,30.641H16.552Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
<path
android:pathData="M18.559,30.641C18.559,30.397 18.756,30.2 19,30.2H19.441C19.499,30.2 19.554,30.211 19.604,30.231C19.641,30.246 19.683,30.246 19.719,30.231C19.77,30.211 19.825,30.2 19.882,30.2H20.323C20.567,30.2 20.765,30.397 20.765,30.641V32.251C20.765,32.337 20.696,32.406 20.61,32.406H20.478C20.393,32.406 20.323,32.337 20.323,32.251V30.751C20.323,30.691 20.274,30.641 20.213,30.641H19.993C19.932,30.641 19.882,30.691 19.882,30.751V32.251C19.882,32.337 19.813,32.406 19.728,32.406H19.596C19.51,32.406 19.441,32.337 19.441,32.251V30.751C19.441,30.691 19.392,30.641 19.331,30.641H19.11C19.049,30.641 19,30.691 19,30.751V32.251C19,32.337 18.931,32.406 18.846,32.406H18.713C18.628,32.406 18.559,32.337 18.559,32.251V30.641Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
<path
android:pathData="M24.118,30.2C23.874,30.2 23.677,30.397 23.677,30.641V31.965C23.677,32.208 23.874,32.406 24.118,32.406H25.441C25.685,32.406 25.882,32.208 25.882,31.965V30.641C25.882,30.397 25.685,30.2 25.441,30.2H24.118ZM24.338,30.641C24.216,30.641 24.118,30.74 24.118,30.862V31.744C24.118,31.866 24.216,31.965 24.338,31.965H25.221C25.343,31.965 25.441,31.866 25.441,31.744V30.862C25.441,30.74 25.343,30.641 25.221,30.641H24.338Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
<path
android:pathData="M21.118,30.641C21.118,30.397 21.315,30.2 21.559,30.2H23.169C23.254,30.2 23.324,30.269 23.324,30.354V30.487C23.324,30.572 23.254,30.641 23.169,30.641H21.713C21.628,30.641 21.559,30.71 21.559,30.795V32.251C21.559,32.337 21.49,32.406 21.404,32.406H21.272C21.187,32.406 21.118,32.337 21.118,32.251V30.641ZM21.779,31.281C21.779,31.366 21.849,31.435 21.934,31.435H23.037C23.122,31.435 23.191,31.366 23.191,31.281V31.149C23.191,31.063 23.122,30.994 23.037,30.994H21.934C21.849,30.994 21.779,31.063 21.779,31.149V31.281Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
<path
android:pathData="M28.794,30.354C28.794,30.269 28.863,30.2 28.949,30.2H29.081C29.166,30.2 29.235,30.269 29.235,30.354V31.81C29.235,31.896 29.305,31.965 29.39,31.965H30.404C30.49,31.965 30.559,31.896 30.559,31.81V30.354C30.559,30.269 30.628,30.2 30.713,30.2H30.846C30.931,30.2 31,30.269 31,30.354V31.965C31,32.208 30.803,32.406 30.559,32.406H29.235C28.992,32.406 28.794,32.208 28.794,31.965V30.354Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
<path
android:pathData="M26.39,30.2C26.305,30.2 26.235,30.269 26.235,30.354V31.369V32.251C26.235,32.337 26.305,32.406 26.39,32.406H26.522C26.607,32.406 26.677,32.337 26.677,32.251V31.634C26.677,31.573 26.726,31.524 26.787,31.524H27.223C27.245,31.524 27.265,31.535 27.28,31.551L28.079,32.349C28.139,32.41 28.237,32.41 28.297,32.349L28.391,32.256C28.451,32.195 28.451,32.098 28.391,32.037L27.964,31.611C27.932,31.579 27.955,31.524 28,31.524C28.244,31.524 28.441,31.326 28.441,31.082V30.641C28.441,30.397 28.244,30.2 28,30.2H26.522H26.39ZM26.765,30.641C26.716,30.641 26.677,30.681 26.677,30.729V30.994C26.677,31.043 26.716,31.082 26.765,31.082H27.846C27.931,31.082 28,31.013 28,30.928V30.795C28,30.71 27.931,30.641 27.846,30.641H26.765Z"
android:fillColor="#36373F"
android:fillType="evenOdd"/>
</group>
<path
android:pathData="M21.3,21.2C21.3,20.924 21.524,20.7 21.8,20.7H28.1C28.376,20.7 28.6,20.924 28.6,21.2V27.7C28.6,27.976 28.376,28.2 28.1,28.2H21.8C21.524,28.2 21.3,27.976 21.3,27.7V21.2Z"
android:fillColor="#4967E1"
android:fillAlpha="0.9"/>
<path
android:pathData="M28.581,18.298H28.581C27.245,18.298 26.161,19.382 26.161,20.718V20.718C26.161,22.054 27.245,23.137 28.581,23.137H28.581C29.917,23.137 31,22.054 31,20.718V20.718C31,19.382 29.917,18.298 28.581,18.298Z"
android:fillColor="#F7CE45"
android:fillAlpha="0.7"/>
<path
android:pathData="M16,16.5C16,16.224 16.224,16 16.5,16H20.258C21.915,16 23.258,17.343 23.258,19V22.332C23.258,23.989 21.915,25.332 20.258,25.332H16.5C16.224,25.332 16,25.108 16,24.832V16.5Z"
android:fillColor="#4967E1"
android:fillAlpha="0.58"/>
</vector>
Binary file removed app/src/main/res/drawable/ic_splash_logo.png
Binary file not shown.
26 changes: 26 additions & 0 deletions app/src/main/res/drawable/ic_symbol.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="512dp"
android:height="512dp"
android:viewportWidth="512"
android:viewportHeight="512">
<group>
<clip-path
android:pathData="M0,0h512v512h-512z"/>
<group>
<clip-path
android:pathData="M512,0H0V512H512V0Z"/>
<path
android:pathData="M210.94,239.62C210.94,232.55 216.68,226.82 223.74,226.82H347.65C354.72,226.82 360.45,232.55 360.45,239.62V367.62C360.45,374.68 354.72,380.42 347.65,380.42H223.74C216.68,380.42 210.94,374.68 210.94,367.62V239.62Z"
android:fillColor="#4967E1"
android:fillAlpha="0.9"/>
<path
android:pathData="M360.05,177.63C332.68,177.63 310.5,199.81 310.5,227.18C310.5,254.54 332.68,276.73 360.05,276.73C387.42,276.73 409.6,254.54 409.6,227.18C409.6,199.81 387.42,177.63 360.05,177.63Z"
android:fillColor="#F7CE45"
android:fillAlpha="0.7"/>
<path
android:pathData="M102.4,143.36C102.4,136.29 108.13,130.56 115.2,130.56H174.24C216.66,130.56 251.04,164.95 251.04,207.36V244.88C251.04,287.29 216.66,321.67 174.24,321.67H115.2C108.13,321.67 102.4,315.95 102.4,308.87V143.36Z"
android:fillColor="#4967E1"
android:fillAlpha="0.5"/>
</group>
</group>
</vector>
15 changes: 12 additions & 3 deletions app/src/main/res/layout/activity_splash.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,22 @@
tools:context=".ui.view.splash.SplashActivity">

<ImageView
android:layout_width="0dp"
android:layout_height="0dp"
android:src="@drawable/ic_launcher_foreground"
android:id="@+id/iv_splash_symbol"
android:layout_width="100dp"
android:layout_height="100dp"
android:src="@drawable/ic_symbol"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<ImageView
android:id="@+id/iv_splash_text_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_logo_text"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/iv_splash_symbol" />
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
2 changes: 1 addition & 1 deletion app/src/main/res/values-v31/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<resources>
<style name="Theme.YouDongKnowMe.Splash" parent="Theme.YouDongKnowMe">
<item name="android:windowSplashScreenBackground">@color/white</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_splash</item>
<item name="android:windowSplashScreenAnimationDuration">0</item>
</style>
</resources>

0 comments on commit 6bcf75b

Please sign in to comment.