ciprian Active Member Licensed User Longtime User Sep 5, 2013 #1 Hi there. Is there an example of ActionDrawer and ViewPager into the same project?
ciprian Active Member Licensed User Longtime User Sep 29, 2013 #2 Or has anyone tried that? Thank you Upvote 0
edgeryder1000 Member Licensed User Longtime User Oct 8, 2013 #3 I haven't tried it yet but I assume it would work. The navigation drawer only consumes gestures that start ear the edge of the screen, so as long as the user doesn't swipe from the edge the viewpager will work. If you're talking about putting a viewpager inside the drawer, then I'm not sure that swiping would work (it might), though changing the viewpager page using buttons would be fine. Markus (corwin42) would be able to properly answer this, or you could just test it yourself and post the answer here Upvote 0
I haven't tried it yet but I assume it would work. The navigation drawer only consumes gestures that start ear the edge of the screen, so as long as the user doesn't swipe from the edge the viewpager will work. If you're talking about putting a viewpager inside the drawer, then I'm not sure that swiping would work (it might), though changing the viewpager page using buttons would be fine. Markus (corwin42) would be able to properly answer this, or you could just test it yourself and post the answer here
ciprian Active Member Licensed User Longtime User Oct 8, 2013 #4 It's done. I was trying to put a pageviewer into the content panel , not into the navdrawer. It was easier as i was thinking. Upvote 0
It's done. I was trying to put a pageviewer into the content panel , not into the navdrawer. It was easier as i was thinking.
G gelay Member Licensed User Longtime User Nov 5, 2014 #5 Hi there I'm stuck with the same problem... Ciprian can you please post some working code? Thanx Krisztian Upvote 0
Hi there I'm stuck with the same problem... Ciprian can you please post some working code? Thanx Krisztian
G gelay Member Licensed User Longtime User Nov 6, 2014 #6 Solved... corwin42: Don't add your content to the Activity or the Panel that contains the NavDrawer. Add your content to the NavDrawer.ContentPanel like Code: NavDrawer.ContentPanel.AddView(pContent, 0 ,0, 100%x, 100%y) Upvote 0
Solved... corwin42: Don't add your content to the Activity or the Panel that contains the NavDrawer. Add your content to the NavDrawer.ContentPanel like Code: NavDrawer.ContentPanel.AddView(pContent, 0 ,0, 100%x, 100%y)