Android Question SearchView hidden behind another SearchView

Tomas Petrus

Active Member
Licensed User
Longtime User
Hi,

I have problem with two SearchView on same page. Second one is under first one and ListView is hidden behind another EditText. You can see it on attached picture.

Is there any solution?


Thanks for answer
 

Attachments

  • Screenshot_2015-05-07-16-05-06.png
    Screenshot_2015-05-07-16-05-06.png
    64.8 KB · Views: 341

basicuser27

Member
Licensed User
Longtime User
Hi, I am facing the same problem.
I have 6 searchview and each is hidden behind another EditText

Is there any solution?

Thanks for answer
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
I am not on my pc right now but does not searchview has Searchview.bringtofront like all other views?? (Or sendtoback...)
 
Upvote 0

basicuser27

Member
Licensed User
Longtime User
Hi,

i have added see in bold , and now is working...
thanks to pointing me in the right direction

---
Private Sub et_TextChanged (Old As String, New As String)
lv.Clear
If lv.Visible = False Then lv.Visible = True
If New.Length < MIN_LIMIT Then Return
Dim str1, str2 As String
str1 = New.ToLowerCase
If str1.Length > MAX_LIMIT Then
str2 = str1.SubString2(0, MAX_LIMIT)
Else
str2 = str1
End If
AddItemsToList(prefixList.Get(str2), str1)
AddItemsToList(substringList.Get(str2), str1)
lv.BringToFront
End Sub
 
Upvote 0
Top