Android Question Some functional suggestions on the Android development tool B4A IDE

xiaoyao

Active Member
Licensed User
Longtime User
It is best to double-click the button of the layout designer to automatically add the code that defines the variables.
Private Button2 As Button
Double-click the tab title of the code page to automatically switch to the layout designer, extract the name "Layout", or create a layout file with the same name as the Activity by default.
ctrl+double-click to implement a function similar to VB6's double-click code writing event. Automatically add code: Sub Button1_Click, the cursor is positioned here.


 

xiaoyao

Active Member
Licensed User
Longtime User
Can running a script add and modify the coordinates of layout designer control elements?
button1.left=10%x
button1.width=35%x
It is best to automatically reposition and set attributes so that the dynamic layout can automatically adapt to all mobile phone sizes.

 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Yes, just try it.
You can also try anchors and n-dip.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…