Skip to content

Commit

Permalink
feat: 행사 탭 아이콘 변경 및 가장 왼쪽으로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
tmdgh1592 committed Dec 6, 2023
1 parent c297187 commit 8188527
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 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

0 comments on commit 8188527

Please sign in to comment.