I have a CLV and a SearchView inside a panel, when I'm typing in the edittext, the result of the searchview is behind the CLV, I can't see it. How to bring the result of the searchview in front the CLV ?
It is working as I need it, the only problem is the result of the SV is showing it behind the CLV. The SV edit text box is in the top and below is the CLV which I will display the selected item in the Search View.
Well, now I have another issue, the SV is in the front and I can't see the CLV records. How to make the SV result available only when the user is typing in the edit box ?
Sub SearchView1_ItemClick(Value As String)
SearchView1.lv.Visible = False
End Sub
and then this ...
B4X:
Sub SearchView1_ItemClick(Value As String)
SearchView1.lv.SetLayout(0, SearchView1.lv.Top, SearchView1.lv.Width, 80dip)
End Sub
but none of them worked. The Search View is using the whole screen which is ok while I'm searching something but after I click the desired record the CustomViewList can't be seen.
I understand, but how are the people using this SearchView ?.
My scenario is this:
1. User look at items table
2. User select an item from the listview
3. The app shows the selected item in a CustomListView below the Search View EditText
4. User repeat these steps n-times
screen1: SearchView Edit Text available to search an item
screen2: user type the item name. In this example: "parbo" and select the item "... Parboil Rice 6/5 lbs"
screen3: the app shows the selected item in a CustomListView below the SearchView Edit Text. In this case, I made the mbase.visibile = false after select the item, but It isn't available for the next search.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.