MainForm.Initialize("LoginPage",800,600)
MainForm.SetFormStyle("UNDECORATED")
MainForm.Icon = fx.LoadImage(File.DirAssets,"store.png")
MainForm.Title = "Login Page"
MainForm.Title = Loc.Localize("logintoyouraccount")
MainForm.RootPane.LoadLayout("configurationlayout")
ASOnboarding1.AddPage("B4X development tools", "With B4X, anyone who wants to, can develop real-world solutions." & CRLF & "B4X suite supports more platforms than any other tool." & CRLF & "ANDROID | IOS | WINDOWS | MAC | LINUX | ARDUINO | RASPBERRY PI | ESP8266 | AND MORE...",xui.Color_RGB(10, 169, 195), GenImageViews("store.png"))
'
' ASOnboarding1.AddPage("B4A – The simple way to develop native Android apps","B4A includes all the features needed to quickly develop any type of Android app." & CRLF & "B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others." & CRLF & "Together with B4i you can now easily develop applications for both Android and iOS.",xui.Color_RGB(13, 205, 198),GenImageViews("store.png"))
'
' ASOnboarding1.AddPage("B4i – The simple way to develop native iOS apps", "B4i is a development tool for native iOS applications." & CRLF & "B4i follows the same concepts as B4A, allowing you to reuse most of the code and build apps for both Android and iOS." & CRLF & "This is the only development tool that allows you to develop 100% native iOS apps without a local Mac computer.",xui.Color_RGB(101, 101, 101),GenImageViews("store.jpg"))
'
' ASOnboarding1.AddPage("B4J – RAD development tool for cross platform desktop, server and IoT solutions", "B4J is a 100% free development tool for desktop, server and IoT solutions." & CRLF & "With B4J you can easily create desktop applications (UI), console programs (non-UI) and server solutions." & CRLF & "The compiled apps can run on Windows, Mac, Linux and ARM boards (such as Raspberry Pi).",xui.Color_RGB(255, 57, 174), GenImageViews("store.png"))
'
' ASOnboarding1.AddPage("Powerfull B4X Forum","If you have any questions, then you can ask this question in the forum and the nicest peoples in the forum answer on them.",xui.Color_RGB(40, 89, 154),GenImageViews("store.png"))
'
MainForm.WindowWidth = fx.PrimaryScreen.MaxX - fx.PrimaryScreen.MinX
MainForm.WindowLeft = fx.PrimaryScreen.MinX
MainForm.WindowHeight = fx.PrimaryScreen.MaxY - fx.PrimaryScreen.MinY
MainForm.WindowTop = fx.PrimaryScreen.MinY
MainForm.Show
Private Sub GenImageViews(ImageName As String) As B4XView
Private ImageView1 As ImageView
ImageView1.Initialize("")
ImageView1.SetLayoutAnimated(0,0,0,MainForm.RootPane.Width,MainForm.RootPane.Height/2)
ImageView1.SetImage(xui.LoadBitmap(File.DirAssets,ImageName))
Return ImageView1
End Sub