-2

enter image description here

I want to show this type of menu, when i clicked any item of menu, description of that item is shown in right panel. This menu always available on screen.

Which type of widget i have to use for this.

  • You can search for navigation drawer, side menu this items disappears when you click. For not disappearing you can use fragments – Karacago Aug 26 '16 at 05:06
  • 1
    You project create with menu in Android Studio step : New->project->click Next Til add Activity to project page and select "Navigation Drawer Activity" – Suhas Bachewar Aug 26 '16 at 05:14
  • Its not a navigation drawer. Look for master flow detail here- https://developer.android.com/training/implementing-navigation/descendant.html#master-detail – onexf Aug 26 '16 at 05:52
  • Thanks for understanding my question.. @onexf ... Everybody on this site always in hurry , nobody wants to understand the question, only what they want is disliking the question. – Vaishali Goel Aug 26 '16 at 06:13
  • I implement master flow detail, but when i click on any item, it switch to the another activity, but I want when i click to the item , description shows in right panel, instead of switching activity. Please help me for this .. @onexf – Vaishali Goel Aug 26 '16 at 06:33
  • can you post your code along with the q? – onexf Aug 26 '16 at 06:44

2 Answers2

0

Try this library : MaterialDrawer

There is no need to do anything with xml files and it all done with code.

Omid Heshmatinia
  • 4,599
  • 2
  • 28
  • 48
0

By using a Master/Detail flow template, in a small screen which does not have enough space to continue both the Master and Detail pages, a different Activity page is used for each but in large screen with landscape orientation, both the Master and Detail pages are combined in a single Activity page. Select this when starting a new project.

enter image description here

If you're doing it with an existing project, check this https://raw.githubusercontent.com/SAPDocuments/Tutorials/master/tutorials/hcpdo-basic-android-app/mg6-2-04.png

onexf
  • 3,244
  • 3
  • 20
  • 34