android - ListView List position is over an EditText -
in xamarin, have edittext object, , listview populated items when text entered edittext object.
currently, when type text edittext, listview displayed, on top of edittext, such cannot enter in more data.
how can display listview under edittext object?
here layout code:
<?xml version="1.0" encoding="utf-8"?> <relativelayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal" android:padding="5dip"> <framelayout android:id="@+id/mapwithoverlay" android:layout_width="fill_parent" android:layout_height="match_parent" android:background="#ffffff" android:layout_below="@+id/thumbnail" /> <listview android:id="@+id/list" android:layout_width="fill_parent" android:layout_height="fill_parent" /> <edittext android:id="@+id/inputsearch" android:layout_width="281.5dp" android:layout_height="45dp" android:hint="find..." android:layout_marginbottom="15.2dp" android:layout_margintop="8.5dp" android:layout_marginleft="8.5dp" /> </relativelayout>
thanks in advance
try this-
<?xml version="1.0" encoding="utf-8"?> <relativelayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal" android:padding="5dip"> <framelayout android:id="@+id/mapwithoverlay" android:layout_width="fill_parent" android:layout_height="match_parent" android:background="#ffffff" android:layout_below="@+id/thumbnail" /> <listview android:id="@+id/list" android:layout_width="fill_parent" android:layout_margintop="50dp" android:layout_height="fill_parent" /> <edittext android:id="@+id/inputsearch" android:layout_width="281.5dp" android:layout_height="45dp" android:hint="find..." android:layout_marginbottom="15.2dp" android:layout_margintop="8.5dp" android:layout_marginleft="8.5dp" /> </relativelayout>
Comments
Post a Comment