B4X FEED [B4X] B4XDrawer - sliding drawer

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: [B4X] B4XDrawer - sliding drawer است. این موضوع تا کنون 143 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع [B4X] B4XDrawer - sliding drawer
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
143
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
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 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...


 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا