Ju Yang Active Member Licensed User Longtime User Oct 15, 2015 #1 Hi, In android layout, we can do following steps to achieve position component equally within a layout: 1. set layout_width of each component to 0dp; 2. set layout_weight to 1; does b4a has similar script or code to achieve the same effect? thanks.
Hi, In android layout, we can do following steps to achieve position component equally within a layout: 1. set layout_width of each component to 0dp; 2. set layout_weight to 1; does b4a has similar script or code to achieve the same effect? thanks.
Ed Brown Active Member Licensed User Longtime User Oct 15, 2015 #2 Hello @Ju Yang Anchors might be what you're looking for here. Below is a video link to how to use anchors. https://www.b4x.com/android/forum/threads/designer-anchors-video-example.36507/#content Upvote 0
Hello @Ju Yang Anchors might be what you're looking for here. Below is a video link to how to use anchors. https://www.b4x.com/android/forum/threads/designer-anchors-video-example.36507/#content