Commit 4e61f1f8 authored by Sajal Narang's avatar Sajal Narang

Add missing items in onNavigationItemSelected()

parent b6f3c51b
......@@ -104,6 +104,10 @@ public class MainActivity extends AppCompatActivity
} else if (id == R.id.nav_map) {
} else if (id == R.id.nav_contacts) {
} else if (id == R.id.nav_about) {
}
DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
......
......@@ -2,7 +2,7 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" tools:showIn="navigation_view">
//TODO Update icons
<!--TODO Update icons-->
<group android:checkableBehavior="single">
<item android:id="@+id/nav_feed" android:icon="@drawable/ic_feed"
android:title="Feed" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment