Sliding transition not smooth in SlidingMenu Lib Android -
i using sliding menu lib (link) getting sliding menu facebook app , cool.
have integrated project using following code , working.
slidingmenu = new slidingmenu(this); slidingmenu.setmode(slidingmenu.right); slidingmenu.setshadowdrawable(r.drawable.shadowright); slidingmenu.setshadowwidth(80); slidingmenu.setbehindscrollscale(0); slidingmenu.setbehindoffsetres(r.dimen.behind_offset); slidingmenu.setfadedegree(0); slidingmenu.attachtoactivity(this, slidingmenu.sliding_window); slidingmenu.setmenu(r.layout.popupmenu);
but issue when click on right button sliding menu slide want transition not smooth. start slide stuck fraction of seconds , again continue slide.
so how can use slide smoothly.
i found solution problem.
what did add
android:hardwareaccelerated="true"
in application
tag in androidmanifest.xml
.
so sliding smoothly wanted.
Comments
Post a Comment