2

my problem

I saw this answer but my question : is there no way to achieve this without nesting LinearLayouts ?

Community
  • 1
  • 1
mouayad
  • 443
  • 3
  • 10

1 Answers1

0

Try with this code..

<LinearLayout 
xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    >
    <View
        android:layout_width="fill_parent"
        android:layout_height="1.5dp"
        android:background="@color/green"/>
</LinearLayout>
Amitabha Biswas
  • 3,281
  • 1
  • 11
  • 23