Skip to content

Commit

Permalink
feat: add colors and string resource
Browse files Browse the repository at this point in the history
  • Loading branch information
SungyeopJeong authored and happycastle114 committed Nov 4, 2024
1 parent d90bde7 commit ad28bb1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
8 changes: 4 additions & 4 deletions android/app/src/main/res/layout/next_widget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/notosanskr_bold"
android:includeFontPadding="false"
android:text="다음주 월요일"
android:text="@string/sample_time"
android:textColor="@color/grays_gray0_black"
android:textSize="11sp" />

Expand All @@ -46,7 +46,7 @@
android:fontFamily="@font/notosanskr_bold"
android:includeFontPadding="false"
android:maxLines="1"
android:text="아주 긴 과목 이름은 이렇게 표시됩니다"
android:text="@string/sample_title"
android:textColor="@color/grays_gray0_black"
android:textSize="11sp" />
</LinearLayout>
Expand All @@ -59,7 +59,7 @@
android:fontFamily="@font/notosanskr_regular"
android:includeFontPadding="false"
android:maxLines="1"
android:text="아주 긴 장소 이름은 이렇게 표시됩니다"
android:text="@string/sample_room"
android:textColor="@color/grays_gray0_black"
android:textSize="11sp" />

Expand All @@ -71,7 +71,7 @@
android:fontFamily="@font/notosanskr_medium"
android:includeFontPadding="false"
android:maxLines="1"
android:text="아주 긴 교수자명은 이렇게 표시됩니다"
android:text="@string/sample_professors"
android:textColor="@color/grays_gray75"
android:textSize="11sp" />
</LinearLayout>
18 changes: 18 additions & 0 deletions android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,23 @@

<color name="grays_gray0_black">#000000</color>
<color name="grays_gray0_25">#40000000</color>
<color name="grays_gray0_50">#80000000</color>
<color name="grays_gray75">#757575</color>

<color name="lecture_0">#F2CECE</color>
<color name="lecture_1">#F4B3AE</color>
<color name="lecture_2">#F2BCA0</color>
<color name="lecture_3">#F0D3AB</color>
<color name="lecture_4">#F1E1A9</color>
<color name="lecture_5">#F4F2B3</color>
<color name="lecture_6">#DBF4BE</color>
<color name="lecture_7">#BEEDD7</color>
<color name="lecture_8">#B7E2DE</color>
<color name="lecture_9">#C9EAF4</color>
<color name="lecture_10">#B4D3ED</color>
<color name="lecture_11">#B9C5ED</color>
<color name="lecture_12">#CCC6ED</color>
<color name="lecture_13">#D8C1F0</color>
<color name="lecture_14">#EBCAEF</color>
<color name="lecture_15">#F4BADB</color>
</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
Expand Up @@ -4,4 +4,9 @@
<string name="today_widget_description">오늘의 시간표를 확인하세요.</string>
<string name="semester_widget_description">이번 학기의 시간표를 확인하세요.</string>
<string name="next_lecture_text">다음 강의</string>

<string name="sample_time">다음주 월요일</string>
<string name="sample_title">아주 긴 과목 이름은 이렇게 표시됩니다</string>
<string name="sample_room">아주 긴 장소 이름은 이렇게 표시됩니다</string>
<string name="sample_professors">아주 긴 교수자명은 이렇게 표시됩니다</string>
</resources>

0 comments on commit ad28bb1

Please sign in to comment.