Skip to content

Commit

Permalink
DEP-341 fix: bottom navigation text 사이즈 조정 (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
juhwankim-dev authored Jan 1, 2023
1 parent e43813f commit 6dd3dbe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core-design-system/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,12 @@
<item name="android:textColorPrimary">@color/gray_800</item>
<item name="android:textAppearance">@style/Typography.Body1</item>
</style>

<style name="BottomNavigationView" parent="@style/TextAppearance.AppCompat.Caption">
<item name="android:textSize">11sp</item>
</style>

<style name="BottomNavigationView.Active" parent="@style/TextAppearance.AppCompat.Caption">
<item name="android:textSize">11sp</item>
</style>
</resources>
2 changes: 2 additions & 0 deletions presentation/home/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
android:id="@+id/bnv_main"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:itemTextAppearanceActive="@style/BottomNavigationView.Active"
app:itemTextAppearanceInactive="@style/BottomNavigationView"
app:labelVisibilityMode="labeled"
app:elevation="0dp"
app:itemIconTint="@drawable/selector_menu_color"
Expand Down

0 comments on commit 6dd3dbe

Please sign in to comment.