When I Create a Button In Green Area. When I Click The Button. The Left Drawer Would Not Show.
But When I Move The Button To Right Hand Side (Blue Area). The Left Drawer Will Come Out
But When I Move The Button To Right Hand Side (Blue Area). The Left Drawer Will Come Out
Code:
Drawer.Initialize(Me, "Drawer", Activity, 200dip)
Drawer.LeftPanel.LoadLayout("lyDrawerLeft")
Sub Activity_KeyPress (KeyCode As Int) As Boolean
If KeyCode = KeyCodes.KEYCODE_BACK And Drawer.LeftOpen Then
Drawer.LeftOpen = False
Return True
End If
Return False
End Sub
Sub btnSideMenu_Click
Drawer.LeftOpen=True
End Sub