Search in sources :

Example 1 with NavigationView

use of carbon.widget.NavigationView in project Carbon by ZieIony.

the class NavigationViewActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_navigationview);
    NavigationView navigationView = (NavigationView) findViewById(R.id.drawerMenu);
    navigationView.setMenu(R.menu.menu_navigation);
    navigationView.setHeader(R.layout.header_scrollview);
}
Also used : NavigationView(carbon.widget.NavigationView)

Aggregations

NavigationView (carbon.widget.NavigationView)1