Linear Layout

jc2009

New Member
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>
 
Top