vendredi 22 juillet 2016

My emulator shows just Listview on entire screen. even its width is limited to 240dp

    <?xml version="1.0" encoding="utf-8"?>

I am using drawer layout and listview is using as drawer.

My emulator just showing Listview as width set to match parent even it's set to 240dp.

    </ListView>
//From java i am adding fragment to frame layout
    <FrameLayout
    android:layout_width="250dp"
    android:layout_height="match_parent"
    android:id="@+id/fragmentContainer"

    android:background="#ffffff"

    android:choiceMode="singleChoice"

    android:dividerHeight="0dp"
    android:divider="@android:color/transparent"
    ></FrameLayout>
    </android.support.v4.widget.DrawerLayout>

Aucun commentaire:

Enregistrer un commentaire