Skip to content

Commit

Permalink
Feature/#869 행사 탭 아이콘 변경 (#870)
Browse files Browse the repository at this point in the history
* feat: 탭 이름을 홈에서 행사로 변경

* feat: 행사 탭 아이콘 변경 및 가장 왼쪽으로 이동
  • Loading branch information
tmdgh1592 authored Dec 6, 2023
1 parent b3efcb0 commit 6186249
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class MainActivity : AppCompatActivity() {
private fun initBottomNavigationView(selectedItemId: Int? = null) {
binding.bnvMain.setOnItemSelectedListener {
when (it.itemId) {
R.id.mi_main_profile -> showFragment(MyProfileFragment.TAG)
R.id.mi_main_event -> showFragment(EventFragment.TAG)
R.id.mi_main_profile -> showFragment(MyProfileFragment.TAG)
R.id.mi_main_message -> showFragment(MessageRoomFragment.TAG)
R.id.mi_main_setting -> showFragment(SettingFragment.TAG)
}
Expand Down
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="34dp"
android:height="34dp"
android:viewportWidth="34"
android:viewportHeight="34">
<path
android:fillColor="#D9D9D9"
android:pathData="M21.69,5H12.31C8.289,5 5,8.362 5,12.304V21.696C5,25.754 8.289,29 12.31,29H21.69C25.711,29 29,25.638 29,21.696V12.304C29,8.362 25.711,5 21.69,5ZM21.203,21H12.797C12.066,21 11.579,20.536 11.579,19.841C11.579,19.145 12.066,18.681 12.797,18.681H21.203C21.934,18.681 22.421,19.145 22.421,19.841C22.421,20.536 21.812,21 21.203,21ZM22.421,15.435H11.579C10.848,15.435 10.36,14.971 10.36,14.275C10.36,13.58 10.848,13.116 11.579,13.116H22.299C23.031,13.116 23.518,13.58 23.518,14.275C23.518,14.971 23.031,15.435 22.421,15.435Z" />
</vector>
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/mi_main_event"
android:icon="@drawable/ic_main_menuitemevent"
android:title="@string/main_menu_item_name_of_event"
app:tint="@color/primary_color" />
<item
android:id="@+id/mi_main_profile"
android:icon="@drawable/ic_main_menuitemprofile"
android:title="@string/main_menu_item_name_of_profile" />
<item
android:id="@+id/mi_main_event"
android:icon="@drawable/ic_main_menuitemhome"
android:title="@string/main_menu_item_name_of_home" />
<item
android:id="@+id/mi_main_message"
android:icon="@drawable/ic_main_menuitemmessage"
Expand Down
2 changes: 1 addition & 1 deletion android/2023-emmsale/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
<string name="login_post_notification_permission_needed_message">알림 권한을 허용하시겠습니까?</string>

<string name="main_menu_item_name_of_profile">프로필</string>
<string name="main_menu_item_name_of_home">홈</string>
<string name="main_menu_item_name_of_event">행사</string>
<string name="main_menu_item_name_of_message">쪽지</string>
<string name="main_menu_item_name_of_setting">설정</string>

Expand Down

0 comments on commit 6186249

Please sign in to comment.