J jc2009 New Member Apr 6, 2013 #1 in db4, the desingn layout(or set view coordinate via code) seem all are AbsoluteLayout, need to set the left/right coordinate of view. can i use LinearLayout? like in java, all view be added sequence。I don't need ot set each view's coordinate. B4X: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <EditText android:id="@+id/et1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingTop="10px" android:text="3" />... </LinearLayout>
in db4, the desingn layout(or set view coordinate via code) seem all are AbsoluteLayout, need to set the left/right coordinate of view. can i use LinearLayout? like in java, all view be added sequence。I don't need ot set each view's coordinate. B4X: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <EditText android:id="@+id/et1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingTop="10px" android:text="3" />... </LinearLayout>
Erel B4X founder Staff member Licensed User Longtime User Apr 6, 2013 #2 Basic4android uses a special type of layout that supports scaling and can be customized with the designer scripts feature. There are libraries that allow you to create a LinearLayout XML file though I recommend you to use the visual designer and the script engine instead. Upvote 0
Basic4android uses a special type of layout that supports scaling and can be customized with the designer scripts feature. There are libraries that allow you to create a LinearLayout XML file though I recommend you to use the visual designer and the script engine instead.
A airblaster Active Member Licensed User Longtime User May 27, 2013 #3 Hi Erel, could you tell use something about the library that allows to use LinearLayouts? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 27, 2013 #4 I haven't tried any of these libraries. You can find them here: Basic4android Search: LinearLayout Upvote 0