android - 3 Pane Layout using SlidingPaneLayout like Yatra.com -


i want 3 column pane layout yatra.com app in sliding pane can slide either left or right side. slidingpanelayout accepts 2 panes. when try put 3 fragments in there doesn't show @ all.

i tried changing sliding pane fragment view, solution hacky , doesn't slide right @ all. got successful in having 3 panes using navigationdrawer, don't want pane overlay main fragment.

my question is, possible have 3 panes using slidingpanelayout or should try else. if it's possible how can achieved? missing something?

left pane right pane

use this library has demo on play store

download libraries required sliding drawer lib, download sample , see left , right activity similar wanted...

the main code set left , right drawer line:

getslidingmenu().setmode(slidingmenu.left_right);  getslidingmenu().settouchmodeabove(slidingmenu.touchmode_fullscreen);      setcontentview(r.layout.content_frame); 

and populate right fragment this:

 getslidingmenu().setsecondarymenu(r.layout.menu_frame_two); getslidingmenu().setsecondaryshadowdrawable(r.drawable.shadowright);     getsupportfragmentmanager()     .begintransaction()     .replace(r.id.menu_frame_two, new samplelistfragment())     .commit(); 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -