package net.squanchy.navigation;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import net.squanchy.R;

public class BottomNavigationActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_bottom_navigation);
    }
}

@@ -124,24 +124,153 @@
 ort.
-v7.app.AppCompat
+design.widget.BottomNavigationView;%0Aimport android.support.v4.view.ViewPager;%0A%0Aimport net.squanchy.R;%0Aimport net.squanchy.fonts.TypefaceStyleable
 Acti
@@ -275,17 +275,16 @@
 tivity;%0A
-%0A
 import n
@@ -295,17 +295,60 @@
 quanchy.
-R
+navigation.view.BottomNavigationPagerAdapter
 ;%0A%0Apubli
@@ -392,17 +392,25 @@
 nds 
-AppCompat
+TypefaceStyleable
 Acti
@@ -602,16 +602,910 @@
 gation);
+%0A%0A        BottomNavigationView bottomNavigationView = (BottomNavigationView)%0A                findViewById(R.id.bottom_navigation);%0A%0A        ViewPager viewPager = (ViewPager) findViewById(R.id.main_view_pager);%0A        BottomNavigationPagerAdapter adapter = new BottomNavigationPagerAdapter(this);%0A        viewPager.setAdapter(adapter);%0A%0A        bottomNavigationView.setOnNavigationItemSelectedListener(%0A                item -%3E %7B%0A                    switch (item.getItemId()) %7B%0A                        case R.id.action_schedule:%0A%0A                            break;%0A                        case R.id.action_favourite:%0A%0A                            break;%0A                        case R.id.action_tweet:%0A%0A                            break;%0A                        case R.id.action_venue:%0A%0A                            break;%0A                    %7D%0A                    return true;%0A                %7D);
 %0A    %7D%0A%7D

load the view in the activity