1. Sagenut

    Android Question Add CustomView by code Multiple times

    This question refer to this discussion: In the linked discussion has been given the solution how to add a CustomView by code: making a dedicated layout with the CustomView and loading the...
  2. M

    [B4X] Double (Multi) Column CLV

    Hi everyone, recently i needed to implement an double column list in one of my app. I was ispired by an @Erel example, but i needed something slightly different, so i did this (i want to share with you, maybe could be useful to someone even if is a simple thing): (it support odd number of...

    Wish Past format

    Hello, I dont know if it would be usefull , or if that already exists but that i have not see With the designer tool, when a complicated layout creation i would get the "Past Format" button for copying the settings on all selected views (with same type) ? have a good week Regards
  4. aeric

    Android Code Snippet [B4X] XUI Views - Time Dialog

    I want a better dialog for time input so I created this time (picker) dialog using B4X XUI Views and IME library. I think the code has too many lines. Hope someone can simplify or improve it. Note: I haven't tested but I think this code can also work for B4i and B4J. Update: I have tested with...
  5. A

    Android Question Is there an Activity object model?

    Hi All, Can I reference all the views attached to an activity via something like the Javascript DOM? I remember seeing something like this but I can't find an example now. If a layout was added with multiple panels, buttons, lists, etc and some views added via code... Can I access each view...
  6. LucaMs

    Other Views declared in Process_Globals

    Is this a question? Yes but mainly it is a... "discovery"/info. You can not declare a View in Process_Globals (the message you get is: but... you can declare there a Type containing Views and use an object of that type in your Activity. Tested so: Sub Process_Globals Type tViews(CV As...
  7. C

    Android Question Newbie: What is the proper way to create a grid?

    I have looked at the forum for a few days and I cannot find a simple grid example. Using labels, I made a grid with row headers and column headers. I am sure that this is not the way to do it. Can someone help? The headers should be a different color from the body and horizontal and vertical...
  8. M

    Android Question Draw panel views programatically on PDF Canvas

    Hi, I have seen examples in the forum of taking screen shots of panels and saving them to a canvas and bitmap image. My trouble is I am trying to draw views to a PDF canvas (or any canvas) programmatically with no views displayed on a layout at the time. I was able to solve this in B4i using...
  9. konradwalsh

    Android Question [SOLVED] Set Equal Position of Views in Panel

    Hi I have searched and search and cannot find a specific answer to my question; I have a panel. It may have 1 checkbox or up to 8. I add the checkbox dynamically. How can I position them so that it goes 1 2 5 6 3 4 7 8 This is the code I have used to achieve this: If i Mod 2...