Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AN] feat: 초기 resource 파일 세팅 #16

Merged
merged 1 commit into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions android/app/src/main/res/drawable/ic_logo_white.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="136dp"
android:height="164dp"
android:viewportWidth="136"
android:viewportHeight="164">
<path
android:pathData="M66.43,57.42L110.97,43.26C119.41,39.59 118.3,46.32 116.69,50.14C112.24,66.78 102.5,100.97 99.16,104.63C95.81,108.29 92.5,104.95 91.27,102.82C88.56,97.12 85.58,85.96 85.15,83.6C84.73,81.24 82.01,78.31 80.37,77.85C79.83,77.66 76.22,75.93 66.13,70.49C56.03,65.06 62.12,59.51 66.43,57.42Z"
android:strokeWidth="3"
android:fillColor="#00000000"
android:strokeColor="#ffffff"/>
<path
android:pathData="M66.43,35.95L110.97,21.8C119.41,18.13 118.3,24.86 116.69,28.68C112.24,45.32 102.5,79.51 99.16,83.16C95.81,86.82 92.5,83.48 91.27,81.36C88.56,75.66 85.58,64.5 85.15,62.14C84.73,59.78 82.01,56.84 80.37,56.39C79.83,56.2 76.22,54.46 66.13,49.03C56.03,43.59 62.12,38.05 66.43,35.95Z"
android:strokeWidth="3"
android:fillColor="#00000000"
android:strokeColor="#ffffff"/>
<path
android:pathData="M60.67,43.89V64.98"
android:strokeWidth="3"
android:fillColor="#00000000"
android:strokeColor="#ffffff"/>
<path
android:pathData="M117.82,23.07V44.16"
android:strokeWidth="3"
android:fillColor="#00000000"
android:strokeColor="#ffffff"/>
<path
android:pathData="M54.24,116.87L63.45,107.51C64.34,106.61 65.06,105.53 65.58,104.32L65.77,103.88C66.3,102.66 66.55,101.31 66.51,99.96V99.96C66.47,98.62 66.15,97.32 65.57,96.16L65.54,96.1C64.99,95.01 64.24,94.06 63.33,93.33L63.03,93.1C61.91,92.2 60.63,91.6 59.27,91.33L58.43,91.17M43.34,96.58V96.58C38.75,96.05 34.14,95.92 29.53,96.19L29.29,96.21M10.62,120.08L10.54,122.55C10.48,124.75 10.6,126.96 10.92,129.13L11.05,130.08C11.29,131.73 11.68,133.34 12.22,134.9V134.9C12.91,136.91 13.84,138.81 14.99,140.54L15.07,140.67C16.03,142.13 17.13,143.46 18.34,144.65L18.75,145.05C20.18,146.46 21.75,147.68 23.42,148.69V148.69C25.23,149.8 27.18,150.66 29.17,151.25V151.25C30.72,151.71 32.32,152.01 33.91,152.15L34.59,152.2C36.26,152.34 37.94,152.27 39.6,151.98V151.98C42,151.56 44.33,150.7 46.48,149.42L47.27,148.96L50.41,146.49C51.11,145.94 51.74,145.28 52.28,144.53L52.66,144C53.94,142.2 54.53,139.91 54.28,137.63V137.63C54.17,136.56 53.87,135.52 53.41,134.57L52.93,133.59C52.39,132.5 51.65,131.56 50.75,130.84L50.41,130.56C48.89,129.35 46.98,128.93 45.16,129.41V129.41C44.36,129.62 43.61,130 42.94,130.52L40.58,132.35C39.41,133.25 38.06,133.79 36.66,133.92V133.92C34.45,134.13 32.28,133.29 30.65,131.62L28.81,129.73"
android:strokeWidth="3"
android:fillColor="#00000000"
android:strokeColor="#ffffff"/>
<path
android:pathData="M63.51,86.04L54.22,95.79C53.53,96.53 52.73,97.13 51.86,97.58L51.28,97.88C49.63,98.74 47.76,98.87 46.04,98.25C45.35,98 44.7,97.63 44.11,97.16L42.05,95.53C41.41,95.03 40.73,94.59 40.02,94.25L38.8,93.65C37.12,92.82 35.23,92.69 33.46,93.28C32.27,93.67 31.17,94.37 30.27,95.32L29.08,96.57C27.95,97.76 27.17,99.33 26.87,101.05C26.54,102.95 26.82,104.92 27.65,106.6L27.94,107.18C28.52,108.35 29.3,109.38 30.24,110.2L30.59,110.5C32.27,111.97 34.38,112.67 36.51,112.47C38.01,112.34 39.46,111.75 40.7,110.79L42.94,109.06C43.61,108.53 44.36,108.16 45.16,107.95C46.98,107.46 48.89,107.88 50.41,109.1L50.75,109.37C51.65,110.1 52.39,111.04 52.93,112.13L53.41,113.11C53.87,114.06 54.17,115.1 54.28,116.17C54.53,118.44 53.94,120.74 52.66,122.53L52.28,123.06C51.74,123.81 51.11,124.47 50.41,125.03L47.27,127.5L46.48,127.96C44.33,129.23 42,130.1 39.6,130.52C37.94,130.8 36.26,130.88 34.59,130.74L33.91,130.68C32.32,130.55 30.72,130.24 29.17,129.79C27.18,129.2 25.23,128.33 23.42,127.23C21.75,126.21 20.18,124.99 18.75,123.59L18.34,123.18C17.13,122 16.03,120.66 15.07,119.21L14.99,119.08C13.84,117.35 12.91,115.45 12.22,113.43C11.68,111.88 11.29,110.26 11.05,108.61L10.84,107.12C10.57,105.31 10.47,103.47 10.53,101.64C10.59,99.63 10.84,97.64 11.28,95.69L11.34,95.43C11.71,93.8 12.22,92.21 12.85,90.69C13.94,88.11 15.39,85.74 17.15,83.68L17.32,83.48C18.64,81.93 20.12,80.56 21.71,79.39L22.25,79C23.8,77.87 25.48,76.92 27.21,76.2C29.35,75.3 31.62,74.74 33.89,74.54C35.59,74.39 37.3,74.45 38.99,74.7L39.56,74.78C41.26,75.03 42.93,75.45 44.56,76.03L47.4,77.03C47.98,77.23 48.61,77.07 49.06,76.6L52.55,72.93C53.44,72 54.48,71.26 55.6,70.77L56.09,70.56C57.16,70.1 58.31,69.92 59.44,70.05C60.68,70.2 61.86,70.7 62.87,71.5L63.33,71.87C64.24,72.6 64.99,73.54 65.54,74.64L65.57,74.7C66.15,75.86 66.47,77.16 66.51,78.49C66.55,79.85 66.3,81.19 65.77,82.42L65.56,82.9C65.05,84.08 64.36,85.14 63.51,86.04Z"
android:strokeWidth="3"
android:fillColor="#00000000"
android:strokeColor="#ffffff"/>
<path
android:pathData="M66.57,78.56V99.64"
android:strokeWidth="3"
android:fillColor="#00000000"
android:strokeColor="#ffffff"/>
<path
android:pathData="M10.48,105.17V126.26"
android:strokeWidth="3"
android:fillColor="#00000000"
android:strokeColor="#ffffff"/>
</vector>
9 changes: 9 additions & 0 deletions android/app/src/main/res/drawable/ic_photo.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="98dp"
android:height="98dp"
android:viewportWidth="98"
android:viewportHeight="98">
<path
android:pathData="M83.3,0H14.7C10.801,0 7.062,1.549 4.306,4.306C1.549,7.062 0,10.801 0,14.7V83.3C0,87.199 1.549,90.938 4.306,93.695C7.062,96.451 10.801,98 14.7,98H83.3C84.106,97.989 84.909,97.907 85.701,97.755L87.171,97.412H87.514H87.759L89.572,96.726L90.209,96.383C90.699,96.089 91.238,95.844 91.728,95.501C92.382,95.02 93.004,94.496 93.59,93.933L93.933,93.492C94.414,93.005 94.856,92.48 95.256,91.924L95.697,91.287C96.039,90.742 96.334,90.168 96.579,89.572C96.713,89.337 96.828,89.091 96.922,88.837C97.167,88.249 97.314,87.612 97.51,86.975V86.24C97.788,85.283 97.952,84.296 98,83.3V14.7C98,10.801 96.451,7.062 93.695,4.306C90.938,1.549 87.199,0 83.3,0ZM14.7,88.2C13.4,88.2 12.154,87.684 11.235,86.765C10.316,85.846 9.8,84.6 9.8,83.3V62.181L25.921,46.011C26.376,45.552 26.919,45.187 27.516,44.938C28.113,44.69 28.753,44.562 29.4,44.562C30.047,44.562 30.687,44.69 31.284,44.938C31.882,45.187 32.424,45.552 32.879,46.011L75.019,88.2H14.7ZM88.2,83.3C88.195,83.904 88.079,84.502 87.857,85.064C87.745,85.303 87.614,85.532 87.465,85.75C87.334,85.957 87.186,86.154 87.024,86.338L60.809,60.123L65.121,55.811C65.576,55.352 66.118,54.987 66.716,54.738C67.313,54.49 67.953,54.362 68.6,54.362C69.247,54.362 69.887,54.49 70.484,54.738C71.081,54.987 71.623,55.352 72.079,55.811L88.2,71.981V83.3ZM88.2,58.114L78.988,49C76.184,46.339 72.466,44.856 68.6,44.856C64.734,44.856 61.016,46.339 58.212,49L53.9,53.312L39.788,39.2C36.984,36.539 33.266,35.056 29.4,35.056C25.534,35.056 21.816,36.539 19.012,39.2L9.8,48.314V14.7C9.8,13.4 10.316,12.154 11.235,11.235C12.154,10.316 13.4,9.8 14.7,9.8H83.3C84.6,9.8 85.846,10.316 86.765,11.235C87.684,12.154 88.2,13.4 88.2,14.7V58.114Z"
android:fillColor="#ffffff"/>
</vector>
10 changes: 10 additions & 0 deletions android/app/src/main/res/drawable/rectangle_main_gradient.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="@color/white"
android:centerColor="@color/main_mint"
android:centerX="0.25"
android:angle="270"
android:endColor="@color/main_purple"/>
</shape>
Binary file added android/app/src/main/res/font/pretendard_bold.otf
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 3 additions & 5 deletions android/app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.Naaga" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<style name="Theme.Naaga" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorPrimary">@color/main_purple</item>
<item name="colorPrimaryVariant">@color/main_purple</item>
<item name="colorOnPrimary">@color/black</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_200</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
Expand Down
8 changes: 3 additions & 5 deletions android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="main_purple">#FFD4A5E4</color>
<color name="light_purple">#FFE3C6ED</color>
<color name="main_mint">#FFA5E4DB</color>
</resources>
7 changes: 7 additions & 0 deletions android/app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="space_default_medium">12dp</dimen>

<dimen name="radius_small">12dp</dimen>
<dimen name="radius_medium">24dp</dimen>
</resources>
5 changes: 5 additions & 0 deletions android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<resources>
<string name="app_name">Naaga</string>
<string name="begin_adventure">모험 시작</string>
<string name="on_adventure">모험 중</string>
<string name="end_adventure">모험 종료</string>
<string name="polaroid_description">이곳은 어디일까요?</string>
<string name="left_distance">목적지까지 %dm</string>
</resources>
9 changes: 4 additions & 5 deletions android/app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.Naaga" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<style name="Theme.Naaga" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorPrimary">@color/main_purple</item>
<item name="colorPrimaryVariant">@color/light_purple</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="android:windowBackground">@drawable/rectangle_main_gradient</item>
</style>
</resources>