Skip to content

Commit

Permalink
#18 : 스플래시 변경사항 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
seunggyu97 committed Feb 27, 2023
1 parent 8ea3059 commit 001de7b
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 34 deletions.
46 changes: 19 additions & 27 deletions app/src/main/res/drawable/splash_background_gradient.xml
Original file line number Diff line number Diff line change
@@ -1,50 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="100dp"
android:height="100dp"
android:viewportWidth="100"
android:viewportHeight="100">
android:width="360dp"
android:height="640dp"
android:viewportWidth="360"
android:viewportHeight="640">

<group>

<clip-path
android:pathData="M0 0H216V108H0V0Z"
/>
<clip-path android:pathData="M0 0H360V640H0V0Z" />

<group
android:translateX="-0.47"
android:translateY="-1"
android:pivotX="108"
android:pivotY="54"
android:pivotX="180"
android:pivotY="320"
android:rotation="-43.223"
android:scaleX="2.745"
android:scaleY="8.218"
android:rotation="-43.223"
>
android:translateX="-0.47"
android:translateY="-1">

<path
android:pathData="M0 0V108H216V0"
>
<path android:pathData="M0 0V640H360V0">

<aapt:attr name="android:fillColor">

<gradient
android:type="linear"
android:startX="54"
android:startY="54"
android:endX="162"
android:endY="54"
>
android:endX="270"
android:endY="320"
android:startX="90"
android:startY="320"
android:type="linear">

<item
android:color="#FFFF00"
android:offset="0"
/>
android:offset="0" />

<item
android:color="#FFC700"
android:offset="1"
/>
android:offset="1" />

</gradient>

Expand All @@ -56,4 +48,4 @@

</group>

</vector>
</vector>
9 changes: 9 additions & 0 deletions app/src/main/res/drawable/stitch_logo.xml
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="35dp"
android:height="34dp"
android:viewportWidth="35"
android:viewportHeight="34">
<path
android:pathData="M35,12.673H28.255L33.022,8.042L26.728,1.921L21.955,6.558V0H13.045V6.558L8.278,1.921L1.978,8.042L6.751,12.673H0V21.327H6.751L1.978,25.965L8.278,32.079L13.045,27.448V34H21.955V27.448L26.728,32.079L33.022,25.965L28.255,21.327H35V12.673Z"
android:fillColor="#2D2D2D"/>
</vector>
24 changes: 24 additions & 0 deletions app/src/main/res/drawable/stitch_text_logo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="147dp"
android:height="34dp"
android:viewportWidth="147"
android:viewportHeight="34">
<path
android:pathData="M0.13,32.13L1.55,23.92C4.58,24.67 7.34,25.04 9.8,25.04C11.04,25.04 12.14,25.02 13.09,24.98C14.04,24.94 14.9,24.86 15.64,24.75V22.26L11.17,21.89C9.14,21.69 7.46,21.36 6.11,20.89C4.75,20.42 3.66,19.77 2.85,18.96C2.04,18.14 1.46,17.16 1.11,16.02C0.76,14.87 0.59,13.53 0.59,11.98C0.59,9.84 0.81,8.07 1.26,6.65C1.7,5.22 2.4,4.08 3.37,3.21C4.34,2.34 5.59,1.72 7.12,1.36C8.66,1 10.53,0.82 12.74,0.82C17.14,0.82 21.12,1.24 24.69,2.07L23.44,10.02C20.35,9.53 17.87,9.28 16.02,9.28C14.16,9.28 12.59,9.36 11.29,9.53V11.98L14.85,12.31C17.03,12.53 18.86,12.9 20.33,13.41C21.79,13.92 22.97,14.59 23.87,15.42C24.77,16.25 25.41,17.24 25.78,18.36C26.15,19.5 26.34,20.8 26.34,22.26C26.34,24.36 26.06,26.13 25.51,27.57C24.96,29.01 24.29,30.1 23.52,30.84C22.88,31.45 22.09,31.93 21.15,32.27C20.21,32.62 19.21,32.87 18.17,33.04C17.12,33.21 16.06,33.31 15,33.35C13.93,33.39 12.97,33.41 12.12,33.41C9.96,33.41 7.89,33.3 5.9,33.08C3.91,32.86 1.99,32.54 0.13,32.13Z"
android:fillColor="#2D2D2D"/>
<path
android:pathData="M52.22,9.53H45V32.66H35.05V9.53H27.83V1.57H52.21V9.53H52.22Z"
android:fillColor="#2D2D2D"/>
<path
android:pathData="M54.95,32.67V1.57H64.9V32.67H54.95Z"
android:fillColor="#2D2D2D"/>
<path
android:pathData="M92.02,9.53H84.8V32.66H74.85V9.53H67.63V1.57H92.01V9.53H92.02Z"
android:fillColor="#2D2D2D"/>
<path
android:pathData="M115.4,23.75L116.15,32.12C114.02,32.98 111.4,33.41 108.28,33.41C105.32,33.41 102.87,33.08 100.93,32.43C99,31.78 97.47,30.79 96.33,29.47C95.2,28.14 94.4,26.46 93.94,24.41C93.49,22.36 93.26,19.95 93.26,17.15C93.26,14.36 93.47,12.07 93.9,10.04C94.33,8 95.1,6.31 96.21,4.94C97.31,3.57 98.81,2.54 100.71,1.85C102.6,1.16 105,0.81 107.9,0.81C108.54,0.81 109.25,0.85 110.04,0.92C110.83,0.99 111.6,1.08 112.36,1.19C113.13,1.3 113.85,1.43 114.52,1.58C115.2,1.73 115.75,1.91 116.16,2.1L114.67,9.73C112.46,9.26 110.48,9.03 108.74,9.03C107,9.03 105.7,9.19 105.01,9.53C104.32,9.86 103.97,10.52 103.97,11.52V24.54C104.61,24.67 105.25,24.78 105.9,24.85C106.55,24.92 107.22,24.95 107.92,24.95C110.68,24.95 113.18,24.55 115.42,23.75H115.4Z"
android:fillColor="#2D2D2D"/>
<path
android:pathData="M137.05,32.67V21.68H129.58V32.67H119.63V1.57H129.58V12.56H137.05V1.57H147V32.67H137.05Z"
android:fillColor="#2D2D2D"/>
</vector>
31 changes: 24 additions & 7 deletions app/src/main/res/layout/activity_splash.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,33 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/splash_background_gradient">
<ImageView
android:layout_width="0dp"
android:layout_height="142dp"

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="148dp"
android:background="#D9D9D9"
android:layout_marginHorizontal="16dp"/>
android:layout_marginTop="235dp"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/iv_stitch_logo"
android:id="@+id/iv_stitch_logo"
android:src="@drawable/stitch_logo"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"/>

<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/stitch_text_logo"
android:layout_marginStart="8dp"
app:layout_constraintStart_toEndOf="@id/iv_stitch_logo"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

</layout>

0 comments on commit 001de7b

Please sign in to comment.