layout

  1. Lucas Siqueira

    Bug? Failed to copy layout from ios to android, properties are not fully copied

    When I copy the designer from one platform to another, the properties (BackgroundColor, BorderColor, BorderSize, BorderRadius) of the button component are not copied from b4i to b4a, the reverse also happens. Note: scrollview does not copy background property. (please make the scrollview...
  2. Valentino.b

    Italian Template B4A partendo da un "free web template"

    Ciao a tutti ho realizzato un sito web utilizzando uno dei molti "free template" disponibili su internet. Adesso vorrei realizzare l'APP Android, riutilizzando lo stesso template (stessi pulsanti, stesse form, stessi messaggi di errore, ....) Come si dovrebbe procedere? Vi ringrazio
  3. N

    Spanish Orden de los views en el layout

    Hola. Hace un tiempo leí un hilo referente al orden de los views en el layout. Hago búsquedas que no dan resultado, tampoco recuerdo si estaba en inglés (creo que en español). Se hacía referencia a que al ir añadiendo views, dentro del layout se les asignaba un número por orden de creación. Ese...
  4. PabloA

    Android Question LOAD OR DISPLAY A LAYOUT IN A LOOP

    Hola, buenas noches, soy nuevo en la programación de Android. Mi pregunta es la siguiente, estoy haciendo una aplicación para mostrar un diseño en bucle, pero cuando ejecuto el programa no se detiene en el primer valor sino que pasa y muestra el diseño hasta el último valor. Cualquier...
  5. HZZ

    Android Question Layout Refactoring

    It is easy to refactor variables or names in code by right click > find all references > rename But when I rename a custom control from "customlistview" to "myclv", do I need to manually change it in all layouts by 1. noting down variables settings of every "customlistview" in some notepad 2...
  6. MarcRB

    B4J Question Loading layout in pane will not stretch/resize to pane size

    Hello, I made a layout by abstract designer. It is a layout for using in container like a pane. All views are anchord and it will be resized perfect, as I can see in Wysiwyg preview window. But when I load that layout into a pane on a page , then the layout has a fixed size. The pane it self...
  7. rleiman

    Android Question [Solved] - Custom widgets XML layout

    Greetings everyone, I was looking at this thread on how to make a custom XML file and manifest coding so a widget can be customised. https://www.b4x.com/android/forum/threads/widget-layout-resizable-adaptive.115638/#content I would like to alter the coding in the manifest so it will work for...
  8. Marcos Alves

    iOS Question iPhone Sizes and Layouts

    Hello Community, today I was alerted by an user that an app that we developed for iPhone is showing some issues in the layout on an iPhone XS. We developed using an iPhone 8, but it's supposed that IOS should show almost the same design independent of the screen size (at least considering...
  9. A

    Android Question Problem with using Material Icons

    Hi all. In my app I add Material Icons as a button text and it looks good, checked with my 3 different phones. Few other clients that are using this app also checked and it looks good. The icons are arrow_back (0x5C4) and feedback (0xE87F) On one phone instead of these icons user sees Chinese...
  10. Alessandro Zuppa

    Italian Problemi con Panel

    Salve a tutti, questo è il mio primo thread, spero quindi di porre correttamente il problema che riscontro. Nella creazione/composizione di un'Activity quando aggiungo più di x Panel il layout non si comporta più in modo corretto. Vi allego qui due immagini e un esempio di codice. Se qualcuno...
  11. rleiman

    Android Question [SOLVED] - B4XPages - Loading layouts

    Greetings, I just migrated a working non-B4XPages app over to B4XPages because CallSubDelayed was not working correctly when the old app did not have focus. I was advised to migrate to B4XPages. That issue has been resolved just by doing the migration. It seems that loading layouts is done...
  12. sadeq.hitex

    B4A Library Hitex TransformationLayout

    🌠 Transform into a different view or activity using morphing animations. Using Transformation motions of new material version. Github : https://github.com/skydoves/TransformationLayout (Kotlin) Just for B4A min sdk : 21...
  13. rleiman

    Android Question [SOLVED] - Anchors seem to be ignored when using SetLayoutAnimated

    Greetings, I started to experiment with B4XPages and really like them. I also used SetLayoutAnimated to slide a layout called pnlWhiteDialog into view. It slides into view as expected but the alignment of the views on the layout are not being displayed as expected. For example I have a Label...
  14. amorosik

    Android Question Layout copy from B4A to B4J - is possible ?

    Given an existing B4A project, is it possible to copy (with operating system command) the .lay files (layouts) to use them in the B4J environment? Basically is it possible to copy screenshots from Android project to B4J? And is the opposite also possible, ie from B4J to B4a? Finally from B4A to...
  15. Martin Larsen

    iOS Question When is layout ready for changes in code?

    I have this code in Application_Start: 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...
  16. M

    iOS Question presentModalViewController annoying small bar remains on the top

    Hi everyone, I followed this post in order to achieve that famous iOS bottom sheet layout. It worked but the annoying thing is that when I load the layout in it, the top part of the view remains empty, like if the Top=0 is Top=20. I attach a screenshot to make it more understandable (my...
  17. M

    iOS Question Make the status bar invisible AND the bottom bar (on iphoneX +)

    Hi everyone, it's possible to make the status bar transparent (in the screenshot is the white space at the top), anche make transparent the bottom part? This layout is simply a web view with a GIF, in the designer the Webview is set to cover all the area. This represent the splashsceen. Thanks!
  18. Sagenut

    Android Tutorial Widget Layout (Resizable, Adaptive)

    Not sure if this can be considered a Tutorial, my first attempt. Lately I started to play with Widgets, mostly for curiosity. The main problem I encountered was how to design the Layout to make it resizable and make the content to adapt automatically to size changes. Unluckily designing a widget...
  19. M

    iOS Question [B4X] Chat Layout bad textfield positioning

    Hi, I'm slowly integrate the chat example from @Erel (Thanks you) but when I click the textfield it resize in a bad way I guess. It's too much above the keyboard. Thank to anyone will answer!
  20. M

    iOS Code Snippet Chat Layout Example (some corrections needed)

    Hi everyone, i want to share this "chat layout". I hope it will be useful to somebody. It is a translated version from the Andoid one by @Douglas Farias. It has some bugs, that someone can help me to fix. For example i want the CustomListView always display the last element (without bringing...
Top