6 Replies - 1120 Views - Last Post: 14 February 2013 - 04:40 AM

#1 Messidev  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 24-January 13

Add items in menu style Facebook app

Posted 31 January 2013 - 12:06 PM

Hi, I really enjoyed this post:http://www.dreamincode.net/forums/topic/270319-how-to-create-a-slide-in-menulist-like-in-facebook-app !!! but I can not enter items in the menu. someone help me please?
Is This A Good Question/Topic? 0
  • +

Replies To: Add items in menu style Facebook app

#2 farrell2k  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 822
  • View blog
  • Posts: 2,529
  • Joined: 29-July 11

Re: Add items in menu style Facebook app

Posted 01 February 2013 - 10:13 AM

Looking at the code for the tutorial, the MenuList is just a LinearLayout, which is a subclass of view. You should just be able to add other views with the addView() method.
Was This Post Helpful? 0
  • +
  • -

#3 EndLessMind  Icon User is offline

  • These are the droids you're looking for
  • member icon

Reputation: 193
  • View blog
  • Posts: 1,099
  • Joined: 13-March 09

Re: Add items in menu style Facebook app

Posted 01 February 2013 - 02:01 PM

No, it's a ExpandableListView, add objects to the adapter :)
Was This Post Helpful? 0
  • +
  • -

#4 Messidev  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 24-January 13

Re: Add items in menu style Facebook app

Posted 06 February 2013 - 10:59 AM

you can give an example with one item?
Was This Post Helpful? 0
  • +
  • -

#5 EndLessMind  Icon User is offline

  • These are the droids you're looking for
  • member icon

Reputation: 193
  • View blog
  • Posts: 1,099
  • Joined: 13-March 09

Re: Add items in menu style Facebook app

Posted 06 February 2013 - 07:08 PM

Take a look at this tutorial (Also made by me)
How to get started with ExpandableListView
Was This Post Helpful? 2
  • +
  • -

#6 Messidev  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 24-January 13

Re: Add items in menu style Facebook app

Posted 07 February 2013 - 02:11 AM

thanks, I've already seen the guide, but I can not at the same place the items in that menu! I have a small example of that menu? thank you
Was This Post Helpful? 0
  • +
  • -

#7 EndLessMind  Icon User is offline

  • These are the droids you're looking for
  • member icon

Reputation: 193
  • View blog
  • Posts: 1,099
  • Joined: 13-March 09

Re: Add items in menu style Facebook app

Posted 14 February 2013 - 04:40 AM

The sliding menu, is a linerLayout, if you place a ExpandableListView in that LinearLayout, and then create a adapter for it, then you can add items to it. In fact, you can place any widget that you want in the sliding-menu :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1