Why does not the layout_weight property appear in the properties palette? [closed]

1

The layout_weight property does not appear in the properties palette, my android version is 2.2.3

Is this property no longer supported to place the weight on the layout?

    
asked by Edwin Anaya 22.02.2017 в 18:34
source

2 answers

2

Documentation

It still exists ... I recommend changing the option from DESIGN to TEXT (you will avoid problems like that)

Then enter the property manually

<LinearLayout
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_weight="1">
    <TextView
        android:text="ejemplo"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>
</LinearLayout>
    
answered by 22.02.2017 / 19:45
source
1

It must appear in the properties, but it is not found below layout_width and layout_height , I attach an image:

    
answered by 22.02.2017 в 20:31