- Jun 6, 2020
- 11,517
- 4,383
Hi all,
I'm testing a very cool (and very useful) tutorial named "B4XPages Splash Screen" by @Erel
B4A, B4i and B4J splash screen implementation. The implementation is different in each platform. 1. Don't miss the manifest editor code in B4A. 2. Don't use %y in the code. Use Root.Height instead (you can use %y in the designer script).
POSSIBLE BUG ?
If I install and run it as it is (without changes) I see the splash with the B4X logo.
After the logo disappear I see a white empty screen with a text on top that says "MainPage". If I check the "B4XMainPage" code I see:
B4X:
The problem is that Root.LoadLayout("MainPage") should load the "MainPage.bal" layout file that contains a panel, a button and a label. Instead I see a white empty screen.
AFTER MY CODE CHANGE...
B4X:
I'm testing a very cool (and very useful) tutorial named "B4XPages Splash Screen" by @Erel
برای دیدن لینک ها باید ثبت نام کنید
B4A, B4i and B4J splash screen implementation. The implementation is different in each platform. 1. Don't miss the manifest editor code in B4A. 2. Don't use %y in the code. Use Root.Height instead (you can use %y in the designer script).
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
POSSIBLE BUG ?
If I install and run it as it is (without changes) I see the splash with the B4X logo.
After the logo disappear I see a white empty screen with a text on top that says "MainPage". If I check the "B4XMainPage" code I see:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
AFTER MY CODE CHANGE...
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید