Skip to content

Commit

Permalink
Splash Screen Ui
Browse files Browse the repository at this point in the history
  • Loading branch information
kichan05 committed Feb 15, 2022
1 parent 4c23552 commit d66f0d2
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

93 changes: 93 additions & 0 deletions app/src/main/res/drawable/ic_edcan_logo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="798.18dp"
android:height="960.4dp"
android:viewportWidth="798.18"
android:viewportHeight="960.4">
<path
android:pathData="M185.22,791.58v18.06h-72v35.84h72v18.06h-72v45h72v17.92H95.33V791.58Z"
android:fillColor="#455a64"/>
<path
android:pathData="M244.2,791.58q27.84,0 47.56,19.71T311.48,859q0,28 -19.72,47.7T244.2,926.41L194.7,926.41L194.7,791.58ZM244.2,908.49a49.43,49.43 0,0 0,0 -98.85L212.63,809.64v98.85Z"
android:fillColor="#455a64"/>
<path
android:pathData="M452.21,908.49v17.92H384.79q-28,0 -47.7,-19.72T317.38,859q0,-27.84 19.71,-47.7t47.7,-19.71a65.44,65.44 0,0 1,39.3 12.68,66.11 66.11,0 0,1 24.26,32.26H428.78a49.07,49.07 0,0 0,-44 -26.88,49.43 49.43,0 1,0 0,98.85Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M588.4,926.41H568.54l-16,-36H498.23l-16,36H462.52l62.87,-134.83ZM506.22,872.5h38.33l-19.16,-43.15Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M701.14,791.58V926.41L611.26,835v91.4H593.33V791.58l89.89,89.88V791.58Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M107.28,952.33h-7.15v4.83h8.39v3H96.41V942.09H108.5v3h-8.37v4.3h7.15Z"
android:fillColor="#455a64"/>
<path
android:pathData="M127.75,955.68l4.09,-13.59H136l-6.29,18.07h-3.89l-6.26,-18.07h4.13Z"
android:fillColor="#455a64"/>
<path
android:pathData="M158.92,952.33h-7.14v4.83h8.39v3H148.05V942.09h12.09v3h-8.36v4.3h7.14Z"
android:fillColor="#455a64"/>
<path
android:pathData="M179.4,953.54h-3v6.62h-3.72L172.68,942.09h6.71a10.41,10.41 0,0 1,2.8 0.35,5.9 5.9,0 0,1 2.1,1 4.72,4.72 0,0 1,1.32 1.71,5.81 5.81,0 0,1 0.45,2.36 6.52,6.52 0,0 1,-0.22 1.78,4.85 4.85,0 0,1 -0.64,1.4 4.51,4.51 0,0 1,-1 1.07,6.6 6.6,0 0,1 -1.34,0.8l3.91,7.38v0.18h-4ZM176.4,950.54h3a4.17,4.17 0,0 0,1.29 -0.19,2.73 2.73,0 0,0 0.91,-0.55 2.33,2.33 0,0 0,0.56 -0.85,3.12 3.12,0 0,0 0.18,-1.09 2.73,2.73 0,0 0,-0.72 -2,3 3,0 0,0 -2.23,-0.73h-3Z"
android:fillColor="#455a64"/>
<path
android:pathData="M205.53,950.23l3.76,-8.14h4.07l-5.93,11.51v6.56h-3.78V953.6l-5.94,-11.51h4.09Z"
android:fillColor="#455a64"/>
<path
android:pathData="M225.38,960.16L225.38,942.09h5.56a8.64,8.64 0,0 1,3.34 0.63,7.62 7.62,0 0,1 2.61,1.76 8.18,8.18 0,0 1,1.69 2.72,9.89 9.89,0 0,1 0.61,3.52v0.83a9.79,9.79 0,0 1,-0.6 3.51,7.89 7.89,0 0,1 -1.7,2.72 7.53,7.53 0,0 1,-2.63 1.75,8.74 8.74,0 0,1 -3.36,0.63ZM229.1,945.16v12h1.8a4,4 0,0 0,3.36 -1.46,6.53 6.53,0 0,0 1.16,-4.15v-0.85a6.54,6.54 0,0 0,-1.15 -4.17,4 4,0 0,0 -3.33,-1.42Z"
android:fillColor="#455a64"/>
<path
android:pathData="M262.46,956.43h-6.53l-1.24,3.73h-3.95l6.72,-18.07h3.45l6.76,18.07h-4ZM256.94,953.43h4.51l-2.27,-6.76Z"
android:fillColor="#455a64"/>
<path
android:pathData="M286,950.23l3.75,-8.14h4.08l-5.93,11.51v6.56h-3.79V953.6l-5.93,-11.51h4.08Z"
android:fillColor="#455a64"/>
<path
android:pathData="M336.68,954.14a7.18,7.18 0,0 1,-0.62 2.53,5.81 5.81,0 0,1 -1.44,2 6.72,6.72 0,0 1,-2.22 1.29,8.94 8.94,0 0,1 -3,0.46 7.75,7.75 0,0 1,-3.12 -0.6,6.39 6.39,0 0,1 -2.35,-1.73 8,8 0,0 1,-1.47 -2.73,11.66 11.66,0 0,1 -0.52,-3.61v-1.19a11.36,11.36 0,0 1,0.54 -3.61,7.8 7.8,0 0,1 1.51,-2.74 6.48,6.48 0,0 1,2.36 -1.74,7.59 7.59,0 0,1 3.1,-0.61 8.51,8.51 0,0 1,3 0.48,6.34 6.34,0 0,1 2.21,1.33 6.13,6.13 0,0 1,1.41 2,8.39 8.39,0 0,1 0.65,2.55H333a5.86,5.86 0,0 0,-0.27 -1.43,2.93 2.93,0 0,0 -0.63,-1 2.6,2.6 0,0 0,-1.06 -0.64,5 5,0 0,0 -1.56,-0.21 3.16,3.16 0,0 0,-2.81 1.36,7.79 7.79,0 0,0 -0.92,4.25v1.22a12.81,12.81 0,0 0,0.2 2.46,5.21 5.21,0 0,0 0.65,1.76 2.83,2.83 0,0 0,1.14 1.06,3.67 3.67,0 0,0 1.69,0.36 5.16,5.16 0,0 0,1.52 -0.21,2.55 2.55,0 0,0 1.73,-1.61 4.74,4.74 0,0 0,0.3 -1.41Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M364.33,951.53a11.32,11.32 0,0 1,-0.56 3.72,8 8,0 0,1 -1.56,2.78 7,7 0,0 1,-2.43 1.76,8.26 8.26,0 0,1 -6.23,0 7.1,7.1 0,0 1,-2.44 -1.76,8 8,0 0,1 -1.59,-2.78 11.31,11.31 0,0 1,-0.57 -3.72v-0.79a11.34,11.34 0,0 1,0.56 -3.71,8.43 8.43,0 0,1 1.58,-2.81 7.06,7.06 0,0 1,2.44 -1.77,8.26 8.26,0 0,1 6.23,0 7.12,7.12 0,0 1,2.43 1.77,8.43 8.43,0 0,1 1.58,2.81 11.61,11.61 0,0 1,0.56 3.71ZM360.56,950.72a7.57,7.57 0,0 0,-1 -4.32,3.58 3.58,0 0,0 -5.8,0 7.57,7.57 0,0 0,-1 4.32v0.81A10.35,10.35 0,0 0,353 954a5.32,5.32 0,0 0,0.77 1.82A3.21,3.21 0,0 0,355 957a3.65,3.65 0,0 0,1.68 0.38,3.27 3.27,0 0,0 2.89,-1.49 7.72,7.72 0,0 0,1 -4.33Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M377.41,960.16L377.41,942.09L383,942.09a8.64,8.64 0,0 1,3.34 0.63,7.62 7.62,0 0,1 2.61,1.76 8.18,8.18 0,0 1,1.69 2.72,9.89 9.89,0 0,1 0.61,3.52v0.83a9.58,9.58 0,0 1,-0.61 3.51,7.87 7.87,0 0,1 -1.69,2.72 7.53,7.53 0,0 1,-2.63 1.75,8.74 8.74,0 0,1 -3.36,0.63ZM381.13,945.16v12h1.8a4,4 0,0 0,3.36 -1.46,6.53 6.53,0 0,0 1.16,-4.15v-0.85a6.54,6.54 0,0 0,-1.15 -4.17,4 4,0 0,0 -3.33,-1.42Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M408.25,960.16h-3.73V942.09h3.73Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M436.76,960.16H433l-7.25,-11.89v11.89h-3.72V942.09h3.72L433.05,954V942.09h3.71Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M464.67,957.87a6.06,6.06 0,0 1,-2.29 1.64,9.51 9.51,0 0,1 -2,0.64 12.17,12.17 0,0 1,-2.63 0.25,8.68 8.68,0 0,1 -3.2,-0.57 6.67,6.67 0,0 1,-2.47 -1.7,7.47 7.47,0 0,1 -1.59,-2.74 11.18,11.18 0,0 1,-0.57 -3.72V950.6a11.86,11.86 0,0 1,0.54 -3.73,8 8,0 0,1 1.52,-2.75 6.57,6.57 0,0 1,2.39 -1.7,8.22 8.22,0 0,1 3.12,-0.58 9.47,9.47 0,0 1,3 0.44,5.59 5.59,0 0,1 3.5,3.13 8.51,8.51 0,0 1,0.63 2.43h-3.62a5.32,5.32 0,0 0,-0.35 -1.24,2.73 2.73,0 0,0 -0.65,-0.94 2.76,2.76 0,0 0,-1 -0.61,4.64 4.64,0 0,0 -1.43,-0.21 3.32,3.32 0,0 0,-2.91 1.45,7.6 7.6,0 0,0 -1,4.29v1.09a7.22,7.22 0,0 0,1.07 4.29,3.69 3.69,0 0,0 3.17,1.45 6.67,6.67 0,0 0,1.16 -0.08,4.73 4.73,0 0,0 0.85,-0.22 2.49,2.49 0,0 0,0.59 -0.29,2.2 2.2,0 0,0 0.39,-0.3v-3.11h-3.39v-2.75h7.11Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M505,956.43h-6.53l-1.24,3.73h-4L500,942.09h3.45l6.76,18.07h-4ZM499.48,953.43L504,953.43l-2.28,-6.76Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M525.94,957.16h7.9v3H522.22V942.09h3.72Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M550.06,957.16H558v3H546.34V942.09h3.72Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M601.86,960.16h-3.72l-7.25,-11.89v11.89h-3.72V942.09h3.72L598.15,954V942.09h3.71Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M619.43,960.16h-3.72V942.09h3.72Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M647.55,957.87a6.57,6.57 0,0 1,-0.88 0.83,6.81 6.81,0 0,1 -1.41,0.81 9.7,9.7 0,0 1,-2 0.64,12.17 12.17,0 0,1 -2.63,0.25 8.64,8.64 0,0 1,-3.2 -0.57,6.67 6.67,0 0,1 -2.47,-1.7 7.63,7.63 0,0 1,-1.6 -2.74,11.45 11.45,0 0,1 -0.56,-3.72V950.6a11.87,11.87 0,0 1,0.53 -3.73,7.74 7.74,0 0,1 1.54,-2.75 6.45,6.45 0,0 1,2.38 -1.7,8.2 8.2,0 0,1 3.11,-0.58 9.49,9.49 0,0 1,3 0.44,5.86 5.86,0 0,1 2.15,1.23 5.8,5.8 0,0 1,1.34 1.9,8.52 8.52,0 0,1 0.64,2.43h-3.63a5.33,5.33 0,0 0,-0.34 -1.24,2.87 2.87,0 0,0 -0.65,-0.94 2.76,2.76 0,0 0,-1 -0.61,4.64 4.64,0 0,0 -1.43,-0.21 3.31,3.31 0,0 0,-2.9 1.45,7.51 7.51,0 0,0 -1,4.29v1.09a7.14,7.14 0,0 0,1.08 4.29,3.68 3.68,0 0,0 3.16,1.45 6.71,6.71 0,0 0,1.17 -0.08,5 5,0 0,0 0.85,-0.22 3,3 0,0 0,0.59 -0.29,1.8 1.8,0 0,0 0.38,-0.3v-3.11h-3.38v-2.75h7.11Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M675.63,960.16h-3.72v-7.75h-7.26v7.75h-3.72V942.09h3.72v7.32h7.26v-7.32h3.72Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M702.85,945.11h-5.53v15h-3.73v-15h-5.45v-3h14.71Z"
android:fillColor="#00b8d4"/>
<path
android:pathData="M592.26,286.37 L319,559.65a18.52,18.52 0,0 1,-26.2 0l-37.21,-37.21L542,236.07l-46.44,-46.44L209.14,476 79.05,345.91a18.54,18.54 0,0 1,0 -26.2L352.33,46.44 305.89,0 19.51,286.37h0l-0.47,0.48a65,65 0,0 0,0 91.93l0.47,0.47L162.7,522.44l46.44,46.44 50.31,50.31 0.48,0.48a65,65 0,0 0,91.92 0L638.7,332.81Z"
android:fillColor="#455a64"/>
<path
android:pathData="M538.73,48.37h0l-0.48,-0.47a65,65 0,0 0,-91.92 0l-0.48,0.47L159.48,334.75l46.44,46.44L479.19,107.91a18.54,18.54 0,0 1,26.2 0L719.13,321.65a18.54,18.54 0,0 1,0 26.2L445.85,621.12l46.44,46.44L778.66,381.19l0.48,-0.48a65,65 0,0 0,0 -91.92Z"
android:fillColor="#00b8d4"/>
</vector>
Binary file added app/src/main/res/font/circo.ttf
Binary file not shown.
8 changes: 8 additions & 0 deletions app/src/main/res/font/edcan_font.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:android="http://schemas.android.com/apk/res/android">
<font
android:fontStyle="normal"
android:fontWeight="100"
android:font="@font/circo"
/>
</font-family>
25 changes: 23 additions & 2 deletions app/src/main/res/layout/activity_splash.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,36 @@
tools:context=".ui.splash.SplashActivity">

<ImageView
android:layout_width="wrap_content"
android:id="@+id/img_splash_logo"
android:layout_width="0dp"
android:layout_height="wrap_content"

android:src="@drawable/ic_splash_icon"
android:src="@drawable/ic_edcan_logo"

app:layout_constraintWidth_percent="0.3"
android:adjustViewBounds="true"

app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"

android:text="ⓒ 2022. EDCAN. all rights reserved"
android:textSize="10sp"
android:textColor="@color/gray3"

android:letterSpacing="0.125"

android:layout_marginBottom="24dp"

app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
/>

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit d66f0d2

Please sign in to comment.