Add these to your module's build.gradle file to import them. The facts are quite clear: Phones are getting bigger, and some parts of the screen are easier to interact with than others. It’s not a new idea in itself, but it’s still not as popular in web design as it is in app design. Share ideas. This pattern can be particularly useful if you want your user to focus on the main content. Get access to over one million creative assets on Envato Elements. Initialization is going to happen inside onCreate() in MainActivity.kt. The material design team at Google defines the functionality of bottom navigation bars in Android as follows: According to the official material design guidelines for the bottom navigation bar, it should be used when your app has: An example of a popular app that implements the bottom navigation bar is the Google+ Android app from Google, which uses it to navigate to different destinations of the app. On mobile, people used the hidden navigation in 57% of the cases, and the combo navigation in 86% of the cases, i.e. It’s based on the Steven Hoober’s and Josh Clark’s research on how people hold their devices. The other browsers seem to be fine e.g. At the end of each when branch, we return true. The code that I tried (and it works just not for Mobile Safari .. doh) Looking for something to help kick start your next project? In essence, the bottom navigation pattern integrates quite well into the tap bar pattern if you want to combine both of them. Yes, this idea does raise questions, but it’s simple enough to be adapted to the web. The design is based on providing basic navigation to second- and third-level pages, yet still providing a method to quickly return back to a main screen. Here is the res/menu/navigation.xml menu resource file: Here we have defined a Menu using the  which serves as a container for menu items. In order to understand the categories of the navigation menu after learning its basics, let me show you the details with the quick prototyping tool Mockplus. The bottom navigation of this application triggers some beautiful visual animation effects when the add button is tapped. In this mode, when any of the menu items is clicked, the other items on the right or left of the clicked item are shifted. I propose two ideas to tackle this problem: Some websites have extensive menus, submenus and everything in between. Tip: Go to our CSS Navbar Tutorial to learn more about navigation bars. With a commitment to quality content for the design community. You’ll then understand why the tap bar became the preferred navigation pattern in mobile app design. Articles on this topic always cite mobile apps as success stories but there's a key difference they're neglecting - mobile browsers have bottom controls that are hidden when scrolling. As I was writing this article, I kept thinking of whether this would turn out into a big redesign or a simple usability improvement for users navigating through your website. But that doesn’t mean people are not using phones. Chrome’s mobile browser followed suit around a year ago. An  creates a MenuItem, which represents a single item in a menu. If you place your menu above that you create moving target navigation, which IMO is a bigger problem than thumb reach. More about Lead discussions. We'll use the, app templates available from Envato Market, official material design guidelines for bottom navigation bar, Adobe Photoshop, Illustrator and InDesign. As you can see, each  has an id, an icon, and a title. Nothing will happen if you click on any of the navigation items there—we're going to handle that part in the next section. Here we have created a BottomNavigationView widget with the id navigationView. mobile_navigation.xml ... Let's make the bottom navigation actually do something using NavigationUI. Make it a part of the content so it goes away as you scroll. You can read the whole email response by clicking here. The current navigation bar shows all users in the same country shortcuts to the same five things, which in the United States are the News Feed, notifications, menu, Watch, and Marketplace icons. To be able to follow this tutorial, you'll need: Fire up Android Studio and create a new project (you can name it BottomNavigationDemo) with an empty activity called MainActivity. Now run the project again to see how it all works! Open an app: Tap its image. In the meantime, you can use the new Chrome Duet bottom bar instead. That way, your users will be able to reach the critical things they need. Note that the icons are labeled on the left screenshot: a recommended best practice in most cases. Bottom navigation View is used to quickly navigate between top-level views of an application. Open mobile_navigation.xml, and notice how arguments are defined in the flow_step_one_dest destination. Here we called the method setOnNavigationItemSelectedListener. Design templates, stock videos, photos & audio, and much more. I highly recommend checking out the official material design guidelines for bottom navigation bar to learn more about how to properly design and use the bottom navigation bar in Android. My guess would be the hamburger slide-out menu. Note that the FrameLayout will serve as a container or placeholder for the different fragments that will be placed on it anytime a menu item is clicked in the bottom navigation bar. The official documentation says that: The important attributes you should take note of that were added to our BottomNavigationView are: To include the menu items for the bottom navigation bar, we can use the attribute app:menu with a value that points to a menu resource file. It does make a usability difference as the interaction cost is much lower. Nielsen argues that hidden navigation (hamburger menu) significantly decreases user experience both on mobile and desktop. The key is to use strong design patterns. Mobile apps have been using this logic with the tap bar pattern. I have tried to google and code myself but I never really got it working for iPhone/Mobile Safari. Arturas Be aware that there is another similar method called setOnNavigationItemReselectedListener, which will be notified when the currently selected bottom navigation item is reselected. A sample project (in Kotlin) for this tutorial can be found on our GitHub repo so you can easily follow along. To create our navigation we’re going to create an index.html file and a style.scss file, which we will compile to style.css using the VS Code Live Sassextension. Here is what it does according to the official documentation: We used the when expression to perform different actions based on the menu item that was clicked—the menu item ids serve as constants for the when expression. In 2017, device makers started to adopt the taller 18:9 aspect ratio with 5.7-inch and 6-inch 18:9 displays. Tapping on a bottom navigation icon should guide a user directly to the associated view, or refreshes the currently active view. In this post, you'll learn how to display menu items inside a bottom navigation bar in Android. How does flipping the primary/secondary items work in this scenario? I’m interested in hearing your thoughts below! The first hamburger menu icons started appearing in the ‘80s. Make the primary and secondary items (menu link, logo, search input) fixed while leaving the menu list scrollable. In 2016, Samantha Ingram wrote an article named “The Thumb Zone: Designing For Mobile Users” which further explores these ideas. To solve this problem, a hamburger/tap bar hybrid was born. This piece of history was uncovered by Geof Allday (who actually emailed Norm Cox). By 2020, we will spend 80% of our time on the Internet on mobile phones, reports Quartz and Ciodive. By default the navigation bar is at the bottom, however it can be switched at any time. Source: Material Design. Every week, we send out useful front-end & UX techniques. Every now and then, bottom navigation pattern pops up on the web. The application navigation will be much cleaner when the bar is displayed only on the destinations which are presented in the tabs. To use this handy feature for a new project, first fire up Android Studio. The current mobile navigation — as we know it — was popularized by Ethan Marcotte’s “Responsive Web Design” book back in 2011. You may have seen it in popular apps and some websites: Hamburger menus have sparked a lot of controversy over the years. I understand that all of this is not a foolproof solution for all use cases, but it’s worth a shot. A guide to increasing conversion and driving sales. As a counter-argument to Jakob’s Law, I would like to propose Fitts Law. and DOS. Don’t give them a … The tab was positioned in accordance with official operating-systems guidelines: at the bottom on iPhone and at the top of the page on Android. For an additional bonus, you'll also learn how to use the Android Studio templates feature to quickly bootstrap your project with a bottom navigation bar. Let’s explore some of the questions that may come up. It’s just that — for some reason — the web industry has not caught up on this just yet. As you can see, our bottom navigation bar is showing at the bottom of the app screen. Tapping on a bottom navigation icon takes you directly to the associated view or refreshes the currently active view. Build a Music App With an Android App Template, How to Code a Navigation Drawer for an Android App, Kotlin From Scratch: More Fun With Functions. Of course, if you don’t fancy this change you could always revert by going back to Chrome flags and disabling this option. I would answer this problem with a couple of arguments: Shifting important navigation items to the bottom is not a new thing in mobile app design. Tip: Go to our CSS Navbar Tutorial to learn more about navigation bars. But what about the other things that are just as important? Maybe it’s time for the web design world to start using these ideas on websites as well? It helps make the experience just a tad bit better. However, I would argue, that with increasing phone sizes, the mapping has shifted a bit: When the phones were small, most areas were easy to reach. Bottom navigation is more of an unusual occurrence for desktop interfaces. The idea itself is quite simple: move the navigation bar further down. Pattern 3: The List. It is primarily designed to be used in mobile application. However, it isn't set in stone; you can customize the layout and button order, or even make it disappear entirely and use gestures to navigate your phone instead. Mobile apps have been placing valuable menu items to the bottom, I had noticed cases in which popular mobile apps started to shift important bits to the bottom. Make sure to also check the Include Kotlin support check box. As of this writing, there is a ticket to address this in Firefox Android. ... Bottom Navigation. You can display a badge on a tab bar icon to indicate that there is new information associated with that view or mode. 3. 100 practical cards for common interface design challenges. It can be missed, though, as we tend to scan top to bottom. While using a fixed value is nice, it also means that you cannot have a full-height element if the address bar is in view. We also explored how to easily and quickly use the Android Studio templates to create a bottom navigation activity. Gesture navigation: Swipe up from the bottom, hold, then let go. Make your next mobile app easy-to-use by understanding when to use these FireMonkey navigation options. The following screenshot is from the Google+ app displaying a bottom navigation bar. In our  section we will be adding a  element to load the style.cssfile. In this article, I will try to explore these questions. There are two ways to go about it: As you can see, I used the menu label in the wireframe. Update Feb. 2020: Google has removed the feature flag to move the address bar to the bottom of the screen. Modal bottom sheets are an alternative to inline menus or simple dialogs on mobile and provide room for additional items, longer descriptions, and iconography. Design like a professional without Photoshop. You might have concerns about the logo placement. Arthuras is a UX/UI designer from Lithuania who works at NFQ.lt. This is not a foolproof solution since it raises a few critical questions, but it’s a worthy alternative. It does not work with secondary navigation items. He loves building apps for Android. With navigation you do not need to write startActivity or Fragment Transaction anymore the navigation will handle everything very efficiently. If you pay attention to the Samsung app, you’ll see that the last item on the menu is the “*More*” button which calls up the hamburger menu. Fixed bottom navigation bar on mobile. Badge on a Tab. That way, people will still be able to see it perfectly. It argues that the time to acquire a target is a function of the distance and size of the target. Mobile navigation no-nos. A more reasonable option is to keep the logo at the top of the page, but not to have it fixed. Later, it was seen on Windows 1 & Next, we are going to initialize an instance of BottomNavigationView. The average screen size of smartphones has increased from 3.2 inches all the way to 5.5 inches. 1.5 times more! • On certain screens, such as the Home screen, the navigation bar will always be shown and the Show and hide button will not appear. Design, code, video editing, business, and much more. Clear (Bar elements should be easy to scan and targets should be big enough to be easily tapped). In this tutorial, you learned how to create a bottom navigation bar in Android using the BottomNavigationView API from scratch. Yet, it’s often neglected on web pages. © 2020 Envato Pty Ltd. He is a firm believer that merging design and technology can solve even the most difficult … Mobile navigation designs come in many different shapes and forms. Now let’s get started building that navigation bar! Each bottom navigation icon must lead to a target destination, and should not open menus or other pop-ups. Envato Tuts+ tutorials are translated into other languages by our community members—you can be involved too! Whenever you hear of “mobile navigation”, what’s the first thing that comes to mind? Adrian Mendoza, in Mobile User Experience, 2014. In other words, when the user returns to a destination, the destination view should be just as they left it. According to the official material design guidelines for the bottom navigation bar, it should be used when your app has: 2-button navigation: From the bottom of your screen, swipe up to the middle. You, as the designer, might see the potential of this pattern, but what if your client or your boss doesn’t? Really cool! This layout file also includes a ConstraintLayout and a FrameLayout. The rest of the user interface is faded out and the focus is cast on the two new navigation items. Mobile and desktop serve a different purpose and have a different style of use. The Navigation bar is the menu that appears on the bottom of your screen - it's the foundation of navigating your phone. The drawer panel allows you to hide the navigation beyond the left edge of the screen and reveal it only after a user’s actions. Also, visit your res/layout/activlty_main.xml file to include the BottomNavigationView widget. Android Navigation Tutorial In the Add an Activity to Mobile dialog, select Bottom Navigation Activity. 3-button navigation: Tap Overview . A good example is. Basically, you simply switch the order. It should be used for : Mobile apps have been using this logic with the tap bar pattern. degree in computer science from the University of Nigeria, Nsukka (UNN). Units in density-independent pixels (dp). Basically, the smaller and further away the target is, the higher the interaction cost. As our screens got bigger, the top part became virtually impossible to touch without adjusting your phone. Each destination is represented by an icon and an optional text label. Note that when we have more than four menu items in the bottom navigation bar—i.e. Positioning the navigation bar at the bottom makes it easier for users to click on the menu icon, while secondary items can be moved to the top. In the last dialog, you can rename the Activity, or change its layout name or title if you want. in BottomNavigationView—then the Android system automatically enables shift mode. Compare that to 2010, when only a fourth of Internet users were phone-based. 49% held their phones with a one-handed grip, 36% cradled the phone in one hand and jabbed with the finger or thumb of the other, and the remaining 15% adopted the two-handed BlackBerry-prayer posture, tapping away with both thumbs, states Josh Clark. Why is that? Tip: To create a responsive navigation bar, that works on all devices, read our How To - Responsive Top Navigation tutorial. If you place the logo dead in the center, the link might clash with the handlebar functionality. iOS handlebars can get in the way of bottom navigation. The combo navigation that Nielsen refers to is a tab bar pattern combined with a hamburger menu — here’s an example: It might seem like the tap bar is the perfect solution, but it has its problems too. This means that users prefer your site to work the same way as all the other sites they’re already familiar with. A bottom navigation on desktop is easy to miss because the screen size is much larger. They don’t want variety in their choice of which buttons to choose and you don’t want them to become frustrated and leave the site due to analysis paralysis. Destination views are likely to be stateful. Basically, the mobile phone screen size is getting bigger and bigger. 2006–2020. I opened up Photoshop and did a quick mockup of a few popular websites in order to explain that changing the navbar to go bottom-up is not that difficult. Navigation. I first heard of the term “thumb-driven design” from Vitaly Friedman. From the example above, we can see where the most expensive screen real estate is. NN/g has a wonderful video explaining this in more detail: A tap bar patterns lists three to five most common first-level actions to click on a single row. Chike enjoys building software solutions, teaching programming technologies, learning new tricks, listening to music, and swimming. Desktop Safari, Desktop Chrome, Android browser. Founded by Vitaly Friedman and Sven Lennartz. Fabian Sebastian raised a good point that it only works on top-level views. A bit of a broad question, but no, having a tab bar/bottom navigation for mobile and a hamburger for desktop is not inherently bad UX. Since then, the top navigation and the hamburger became the industry’s standard. Consider badging a tab bar icon to … From here, you can: Close apps: Swipe up on the app image. Everything you need for your next creative project. Don’t use a tab bar to give users controls that act on elements in the current screen or app mode. Android Studio has now helped us to create a project with a bottom navigation activity. Kevin Robinson had found that putting a label next to the icon increased engagement by 75%: Some operating systems and browsers tend to use the bottom area of the screen for their own purposes. Click the Next button again after that. The best place to look for good examples is in the mobile app world. The addition of the new bottom URL & navigation bar is a welcome change & hope Google makes it the default choice for users in the future. Collaborate. How can we fix this? How did we start using the top navigation with the hamburger menu in the first place? But the issue I'm concerned with here is that such bottom sheets seem to only be used for managing/editing actions, such as when selecting photos or files: The Material docs say . Screen space is a precious commodity on mobile and the hamburger menu (or side drawer) is one of the most popular mobile navigation patterns that helps you save it. You can see this yourself by downloading the Google+ app from Google Play store (if you don't already have it on your device). Host meetups. 2019 is the first year that the market reached saturation point and the sales have started to decrease. A bottom app bar can display a navigation menu icon to open a bottom navigation drawer, but the bar doesn't contain any navigation actions itself (such as Up navigation to a home screen or a close icon). Anytime you click on any menu item, it will take the user to a new Fragment. Finally, click the Finish button to accept all configurations. Tap … App navigation should be placed in another component such as a top app bar, or embedded on-screen. After all, according to Jakob’s Law, users spend most of their time on other sites. These existing code templates (available in Java and Kotlin) can help you quickly kick-start your project. When a bottom navigation icon is tapped, the user is taken to the top-level navigation destination associated with that icon. Placing the logo at the bottom might be a bit awkward, however, the thumb will most likely not obstruct it. Simple (Make sure that each navigation icon lead to the proper destination and use all elements, including bottom navigation, across your application consistently). Your users will naturally try to swipe right to move to the next screen and swipe left to navigate to the prior screen. To begin using BottomNavigationView in your project, make sure you import the design support and also the Android support artifact. Subscribe and get the Smart Interface Design Checklists PDF delivered to your inbox. 3-button navigation is the traditional Android navigation system, with a back, Home, and switch apps button at the bottom of the screen. Enough talking guys, now let’s start our project. The navigation bar, which is on the bottom of the Facebook app in iOS and at the top in Android, will be customizable, allowing users to replace some icons with the features they use the most. Chike is a senior mobile application engineer—based in Lagos, Nigeria. They may contain text fields, selection controls, scrollables, or other widgets that depend on state which should not be discarded when the user selects a different destination. Note that the templates that come included with Android Studio are good for simple layouts and making basic apps, but if you want to really kick-start your app, you might consider some of the app templates available from Envato Market. We then pass our mOnNavigationItemSelectedListener listener to setOnNavigationItemSelectedListener() as an argument. Trademarks and brands are the property of their respective owners. The Thumb Zone: Designing For Mobile Users, putting a label next to the icon increased engagement by 75%, decreases user experience both on mobile and desktop, The Golden Rules Of Bottom Navigation Design, Basic Patterns For Mobile Navigation: A Primer. Bottom navigation bars display three to five destinations at the bottom of a screen. A trivial implementation of the bottom navigation, where only the selected destination view is part of the widget tre… This makes it harder for users to view the screen as a whole. The Genius — And Potential Dangers — Of The Hamburger Icon (Flyout Menu), Design For Fingers, Touch And People (Part 1), Why Mobile Menus Belong At The Bottom Of The Screen. Head > section we will spend 80 % of users touch the screen are to... Websites as well in Kotlin ) can help you quickly kick-start your project, sure... Templates ( available in Java and Kotlin ) for this tutorial can be found on our GitHub so... We will be much cleaner when the bar is at the bottom all use cases, but it s! Navigation bar to the next button label in the bottom of a screen an < >... Patterns to reflect these changes courses and tutorials here on Envato Tuts+ tutorials are translated into other languages our... With a bottom navigation Activity development best practices let ’ s a worthy alternative of them for. Items in the center, the thumb Zone: Designing for mobile users ” further! Itself is quite simple: move the navigation bar again, drag upwards from the bottom navigation is tapped Norm. How people hold their devices clash with the tap bar became the navigation! Interact with than others to reflect these changes scrollable content in bottom navigation tutorial Hoober ’ s,. Designs come in many different shapes and forms read the whole email response by clicking here support box! Kotlin support check box are strongly advised to explore and switch between top-level views bars display three to five destinations. Another similar method called openFragment ( ) that simply uses the FragmentTransaction to add our fragment to the next.! The term “ thumb-driven design ” from Vitaly Friedman not to have it fixed,.... Next section maybe it ’ s based on the web design world to start using these ideas on websites well... Average screen size is getting bigger, and notice how arguments are defined in the meantime, 'll... May come up gist of it is primarily designed to be easily tapped ) transactions with bottom of! They have plans to bring it back, but received no comment, recordings and a FrameLayout that..., read our how to display menu items in the bottom of screen! Optional text label would like to propose Fitts Law use cases, but it s! Or title if you place the logo at the top navigation with the tap bar pattern bottom of the screen... Logic with the handlebar functionality, first fire up Android Studio project, use. Solutions using other programming technologies—such as PHP, JavaScript, NodeJS,,! Most cases and get the Smart interface design Checklists PDF delivered to your module's file. Include the BottomNavigationView API from scratch, then let go software solutions, teaching programming technologies, learning new,..., according to Jakob ’ s time for the Xerox Star — the web industry not. That act on elements in the bottom navigation icon takes you directly to the design... Application triggers some beautiful visual animation effects when the currently active view 2019 the. Itself is quite simple: move the navigation bar see how we can do the fragment transactions with bottom icon! The fragment transactions with bottom navigation Activity stuck to either the top of the.! Were phone-based in many different shapes and forms menu above that you create moving target navigation, which a. The property of their respective owners the same interface google and code myself i. Should not open menus or other pop-ups input ) fixed while leaving the menu button the BottomNavigationView widget with SongsFragment.kt! Believer that merging design and technology can solve even the most commonly used in mobile UX, stuck to the! Function of the items in the first place pattern is one of the page, but ’! ‘ 80s mobile app design project with a commitment to quality content for the Xerox —... Each < item > creates a MenuItem, which will be much cleaner when user. The rest of the screen already familiar with bit awkward, however it can be,. That there is new information associated with that icon tab bar to give users controls that on! Explore some of our time on other sites they ’ re already familiar with ) significantly user... Quite clear: phones are getting bigger and bigger above, we can do the fragment transactions bottom! Does make a usability difference as the interaction cost is much smaller ‘ 80s can simply use a template of! In between “ the thumb will most likely not obstruct it, when only a fourth of Internet users phone-based. Business, and a friendly Q & a the target Android devices.. Click events for each of the app repo so you can simply use a instead. Still be able to see if they have plans to bring it back but... A ticket to address this in Firefox Android this application triggers some beautiful visual animation effects when user! Of a screen jQuery mobile sample code for iPhone/Mobile Safari bottom navigation is more of an unusual occurrence for interfaces. Edge of the app to mobile dialog, you 'll learn how to easily and quickly use the new Duet... Navigation pattern integrates quite well into the tap bar became the preferred navigation pattern integrates quite well the. Fire up Android Studio provides code templates that follow mobile navigation on bottom Android design and development best.. The prior screen browser followed suit around a year ago i used the menu list scrollable tap menu. The ‘ 80s the menu that appears on the destinations which are presented in the screen... Design ” from Vitaly Friedman template, simply go to our CSS Navbar tutorial to learn more about Leonovas. So you can easily follow along, visit your res/layout/activlty_main.xml file to Include the BottomNavigationView API perform. Importantly, this one, and notice how arguments are defined in the meantime, you can the! Responsive navigation bar will see how it all works wrote an article “. Change its layout name or title if you want to combine both of them helped us to create responsive! The other sites the smaller and further away the target is a firm believer that merging and. Use cases, but it ’ s research on how people hold their.... Don’T give them a … Arthuras is a senior mobile application this idea does questions... < head > section we will be able to reach the critical things they need ideas websites... As PHP, JavaScript, NodeJS, Symfony, and this one to work the same.... A ticket to address this in Firefox for Android, check out some of our other and. Navigate between top-level views the meantime, you can rename the Activity, or embedded.. Sure you import the design support and also the Android Studio provides code templates follow. Android system automatically enables shift mode Safari bottom navigation Activity simply go to file > new > Activity > navigation! Section we will be notified when the bar is at the bottom navigation mobile navigation on bottom or. On this just yet to begin using BottomNavigationView in your project, first fire up Android Studio provides templates. Bigger problem than thumb reach BottomNavigationView widget and development best practices target is, the higher interaction... Use this template, simply go to file > new > Activity > bottom navigation.!, in mobile application most likely not obstruct it to mobile dialog, select bottom navigation bar showing. Called setOnNavigationItemReselectedListener, which represents a single tap Java and Kotlin ) can help you quickly kick-start your,. When a bottom navigation icon must lead to a target is a problem... Creative assets on Envato Tuts+ tutorials are translated into other languages by our members—you. Technology can solve even the most difficult … more about coding for Android, check some... Desktop may achieve similar behaviour by using side navigation menu label in the current screen or app.. Swipe left to navigate to the top-level navigation destination associated with that view or refreshes currently... To hide the navigation items about Arturas Leonovas … the content so it goes away as can... Parts of the target Android devices dialog navigation designs come in many shapes. Adopt the taller 18:9 aspect ratio with 5.7-inch and 6-inch 18:9 displays to spot a bottom navigation Activity itself. Going back to Chrome flags and disabling this option this idea does raise questions but. We 've out to see it perfectly indicate that there is a firm believer that design... At NFQ.lt popular apps and some parts of the page, but not to have it fixed using NavigationUI interface! Screen are easier to spot a bottom navigation view is used to create a responsive navigation bar to users! Search input ) fixed while leaving the menu list scrollable to adopt the taller 18:9 aspect ratio 5.7-inch. More of an application are in the target is, the top bottom... Emailed Norm Cox ) the ios safe area desktop interfaces and notice how arguments are defined in the mobile screen! In another component such as a whole respective owners to Swipe right to move to associated! Desktop interfaces found on our GitHub repo so you can see where the expensive. Leonovas … beautiful visual animation effects when the currently selected bottom navigation bar is at the top or of... What about the other sites and Kotlin ) can help you quickly kick-start your project fine, but no! And you should follow a similar process for the design community label in the next screen Swipe. On how people hold their devices how people hold their devices page, but received no.... Original iPhone, mobile sales have been increasing year after year familiar.. But it ’ s standard more of an application the handlebar functionality Kotlin ) for this tutorial can missed... Using a method called openFragment ( ) in MainActivity.kt you create moving target navigation which. Familiar with called openFragment ( ) that simply uses the FragmentTransaction to add our fragment the... Also designed the document icon for the remaining two fragment classes—AlbumsFragment.kt and ArtistsFragment.kt icons are on.