DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


sample_code:slide_menu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sample_code:slide_menu [2019/03/02 03:38]
sandudhate
sample_code:slide_menu [2019/03/02 03:42]
sandudhate old revision restored (2016/01/02 05:07) and Removed DSVersion check
Line 19: Line 19:
     var layHome=app.CreateLayout("​Linear","​Left,​FillXY"​);​     var layHome=app.CreateLayout("​Linear","​Left,​FillXY"​);​
     var btnMnu;​     var btnMnu;​
-    ​btnMnu=app.CreateButton("​[fa-bars]",​ -1,​ -1,​ "​fontawesome,​alum");+    btnMnu=app.CreateButton("​[fa-bars]",​ -1,​ -1,​ "​fontawesome,​custom"); 
 +    btnMnu.SetStyle( "#​77bb77",​ "#​559955",​ 15,​ "#​449944",​2,​0 );
     btnMnu.SetOnTouch(mnuAnimate);​     btnMnu.SetOnTouch(mnuAnimate);​
     layHome.AddChild(btnMnu);​     layHome.AddChild(btnMnu);​
sample_code/slide_menu.txt · Last modified: 2019/03/02 03:42 by sandudhate