forked from boostcampwm-2022/android04-BEEP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issues boostcampwm-2022#287 feat: intro, main 화면 전환 구현
- Loading branch information
Showing
9 changed files
with
59 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<navigation xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/main_graph"> | ||
android:id="@+id/main_graph" | ||
app:startDestination="@id/main_nav_graph"> | ||
|
||
<include | ||
android:id="@+id/main_nav_graph" | ||
app:graph="@navigation/main_nav_graph" /> | ||
|
||
<include | ||
android:id="@+id/intro_nav_graph" | ||
app:graph="@navigation/intro_nav_graph" /> | ||
|
||
<action | ||
android:id="@+id/action_global_main_graph" | ||
app:destination="@id/main_nav_graph" | ||
app:popUpTo="@id/intro_nav_graph" | ||
app:popUpToInclusive="true"/> | ||
|
||
<action | ||
android:id="@+id/action_global_intro_graph" | ||
app:destination="@id/intro_nav_graph" | ||
app:popUpTo="@id/main_nav_graph" | ||
app:popUpToInclusive="true"/> | ||
</navigation> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<menu xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item | ||
android:id="@+id/menu_list" | ||
android:id="@+id/gifticon_list_nav_graph" | ||
android:icon="@drawable/ic_menu_list" | ||
android:title="@string/menu_list"/> | ||
|
||
<item | ||
android:id="@+id/menu_home" | ||
android:id="@+id/home_nav_graph" | ||
android:icon="@drawable/ic_menu_home" | ||
android:title="@string/menu_home"/> | ||
|
||
<item | ||
android:id="@+id/menu_setting" | ||
android:id="@+id/setting_nav_graph" | ||
android:icon="@drawable/ic_menu_setting" | ||
android:title="@string/menu_setting"/> | ||
</menu> |
18 changes: 18 additions & 0 deletions
18
features/ui-main/src/main/res/navigation/main_container_nav_graph.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<navigation xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/main_container_nav_graph" | ||
app:startDestination="@id/home_nav_graph"> | ||
|
||
<include | ||
android:id="@+id/gifticon_list_nav_graph" | ||
app:graph="@navigation/gifticon_list_nav_graph" /> | ||
|
||
<include | ||
android:id="@+id/home_nav_graph" | ||
app:graph="@navigation/home_nav_graph" /> | ||
|
||
<include | ||
android:id="@+id/setting_nav_graph" | ||
app:graph="@navigation/setting_nav_graph" /> | ||
</navigation> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters