layout

  1. practicalsoft

    B4X FEED When is layout ready for changes in code?

    I have this code in Application_Start: B4X: pnlBottomMain.LoadLayout("bottompanel") pnlBottomMain.Height = pnlBottom.height-2 pnlBottomMain.Top = MainPanel.Height - pnlBottomMain.Height However, the layout adjustments are not shown. But if I put the same two lines in a click handler, it works...
  2. practicalsoft

    B4X FEED Easy CAD Dimensions

    DOWNLOAD LINK: EASY CAD DIMENSIONS IMPORTANT UPDATE: Dimensions styles Fast input for measurements Repeat object drawings WHAT IS NEW New architectural improvements Trim option is getting better Systems settings has new display scale settings for architectural drawing Tracking measurement...
  3. practicalsoft

    B4X FEED problema a caricare layout quando avvio la app

    possiedo una app che esegue questo codice del modulo Main B4X: Sub Activity_Create(FirstTime As Boolean) 'Do not forget to load the layout file created with the visual designer. For example: 'Activity.LoadLayout("Main") Activity.LoadLayout("Main")...
  4. practicalsoft

    B4X FEED Should not Activity.RemoveViewAt() "de-initialize" a view ?

    I found it more convenient to switch layouts by hiding and showing panels, which support all the views. That way, display is instant between layouts. Before displaying a layout, I test if the panel has been intialized, and if not, then I add the layout to activity. That worked just fine, until...
  5. practicalsoft

    B4X FEED Layout corrupted if device is rotated with IME open

    This is possibly an Android 'feature' but I have been wrestling to overcome this for several days and have given up and admit the need for help.. The attached trivial project is a primitive code editor. Run the program on a device and rotate it from portrait to landscape and back - all is well...
  6. practicalsoft

    B4X FEED BubbleSeekbar example not working

    Hello, I'd really like to use this library - but i got these mistakes when i include the seekbar as customview in the layout: B4X: Sub Globals 'These global variables will be redeclared each time the activity is created. 'These variables can only be accessed from this module. Dim...
  7. practicalsoft

    B4X FEED ba.activity problem

    Hi I am wrapping this library this library has these functions Java: MaryPopup(Activity activity) { this.activity = activity; this.activityView = (ViewGroup) activity.findViewById(android.R.id.content); this.actionBarView =...
  8. practicalsoft

    B4X FEED Different examples with 2 layouts

    As an answer to the thread Forms alike, I thought that the examples below would be of general interest. Attached there are 4 examples with two same layouts but with different managements: - TwoPanelActivity One Activity with 1 Layout with 2 Panels and all views on the panels. All the code is...
  9. practicalsoft

    B4X FEED Creating a Wrap for Stripe Payments

    Hi All I have a couple of questions about creating a wrap for a Java Project for Stripe Payments. Based on the sample Accept a card payment code from the stripe website : https://stripe.com/docs/payments/integration-builder Configured as follows: Platform: Android Frontend: Java Backend...
  10. practicalsoft

    B4X FEED B4XFloatTextField cannot change fields parameters when field is used in custom view class

    Hi, I am making a revised B4XFloatTextField called tfeCustom. I have done the following: Created a layout (tfeCVLayout.bal) with a B4XFloatTextField called tfe and a toolbar of images for clear, back, forward, format title (proper, lowercase, uppercase, camel and SQLite SQL format Load the...
  11. practicalsoft

    B4X FEED Home screen widget sizing

    starting from the dimensions specified in this thread Android Tutorial - Android home screen widgets tutorial - part II Please start with the first part of this tutorial if you haven't read it before. In this part we will build a "quote of the day" widget. We will start with the layout. The...
  12. practicalsoft

    B4X FEED [BANanoPDFMake] Beginning PDF Reports with the Abstract Designer

    I am excited about this. BANanoPDFMake enables one to create PDF reports for their BANano apps client side. Thanks to @alwaysbusy's advice on how I could take this next phase of this reporting system forward. This attemps for one to use the abstract designer to drop html elements on their...
  13. practicalsoft

    B4X FEED {SOLVED} [B4XPages] how to resize layout

    B4XPages 1.05: how to resize layout Width and Height ? in Main: B4X: #Region Project Attributes #MainFormWidth: 600 #MainFormHeight: 600 #End Region ' #Region Delegates Sub MainForm_Resize (Width As Double, Height As Double) B4XPages.Delegate.MainForm_Resize(Width, Height) 'what is...
  14. practicalsoft

    B4X FEED Why does this app layout fail in split screen?

    I am trying to make an app adapt to split-screen mode, which is by default approximately square on my Android 10 Xaiomi Mi Max 3 but it doesn't work as I expect - perhaps I expect wrong! It only ever loads the landscape or portrait variants, even when in split screen mode. Also if you hold the...
عقب
بالا