- Jun 6, 2020
- 11,517
- 4,383
Edit: Cross platform example based on B4XPages
B4XDrawer v1.53 adds support for B4J. This is a good opportunity to create a B4XPages example using B4XDrawer. It does require some configuration so pay attention. The example is based on the three pages example...
A class that implements a sliding menu. Unlike the nice
Instructions:
1. Initialize the drawer object:
B4X:
300dip = left menu width
2. Load the "Activity layout" to the drawer:
B4X:
3. Load the menu layout:
B4X:
4. Handle back key (B4A):
B4X:
برای دیدن لینک ها باید ثبت نام کنید
B4XDrawer v1.53 adds support for B4J. This is a good opportunity to create a B4XPages example using B4XDrawer. It does require some configuration so pay attention. The example is based on the three pages example...
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن تصاویر باید ثبت نام کنید
A class that implements a sliding menu. Unlike the nice
برای دیدن لینک ها باید ثبت نام کنید
the drawer covers the activity instead of pushing it. It is similar to the various design support navigation drawer libraries.Instructions:
1. Initialize the drawer object:
B4X:
Drawer.Initialize(Me, "Drawer", Activity, 300dip) 'Page1.RootPanel in B4i
300dip = left menu width
2. Load the "Activity layout" to the drawer:
B4X:
Drawer.CenterPanel.LoadLayout("1")
3. Load the menu layout:
B4X:
Drawer.LeftPanel.LoadLayout("Left")
4. Handle back key (B4A):
B4X:
Sub Activity_KeyPress (KeyCode As Int) As...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید