Jose Cuevas Member Licensed User Longtime User May 21, 2014 #1 Hi, there is a way to use the jfeinstein SlidingMenu http://www.b4x.com/android/forum/threads/jfeinstein10-slidingmenu-library.36482/ with JavaObject?, and if is possible, could anyone help me with an example, in order to have access to change the look and feel of the sliding menus (shadow, transition, effect etc). Thanks in advance.
Hi, there is a way to use the jfeinstein SlidingMenu http://www.b4x.com/android/forum/threads/jfeinstein10-slidingmenu-library.36482/ with JavaObject?, and if is possible, could anyone help me with an example, in order to have access to change the look and feel of the sliding menus (shadow, transition, effect etc). Thanks in advance.
Erel B4X founder Staff member Licensed User Longtime User May 22, 2014 #2 You can see SlidingMenu API here: https://github.com/jfeinstein10/Sli...emyfeinstein/slidingmenu/lib/SlidingMenu.java Which method do you want to call? Upvote 0
You can see SlidingMenu API here: https://github.com/jfeinstein10/Sli...emyfeinstein/slidingmenu/lib/SlidingMenu.java Which method do you want to call?
Jose Cuevas Member Licensed User Longtime User May 22, 2014 #3 Hi Erel, I am interested in all methods and properties to change the look, such as colors, shadows and animations as: setShadowDrawable, setSecondaryShadowDrawable, setShadowWidthRes, setShadowWidth, etc. Everything that you can set in the Demo https://play.google.com/store/apps/details?id=com.slidingmenu.example. Thanks in advance. Upvote 0
Hi Erel, I am interested in all methods and properties to change the look, such as colors, shadows and animations as: setShadowDrawable, setSecondaryShadowDrawable, setShadowWidthRes, setShadowWidth, etc. Everything that you can set in the Demo https://play.google.com/store/apps/details?id=com.slidingmenu.example. Thanks in advance.
Erel B4X founder Staff member Licensed User Longtime User May 23, 2014 #4 Calling setShadowDrawable is simple: Code: Copy Dim jo As JavaObject = sm Dim cd As ColorDrawable cd.Initialize(Colors.Red, 0) jo.RunMethod("setShadowDrawable", Array(cd)) jo.RunMethod("setShadowWidth", Array(100dip)) Upvote 0
Calling setShadowDrawable is simple: Code: Copy Dim jo As JavaObject = sm Dim cd As ColorDrawable cd.Initialize(Colors.Red, 0) jo.RunMethod("setShadowDrawable", Array(cd)) jo.RunMethod("setShadowWidth", Array(100dip))
Jose Cuevas Member Licensed User Longtime User May 23, 2014 #5 Thank you very much Erel, that exactly what I need. Upvote 0
delozoya Member Licensed User Longtime User Jan 13, 2015 #6 Hello. How can get the dip of screen? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 13, 2015 #7 Please start a new thread for this question. Upvote 0