Android Question SearchView hidden behind another SearchView

Discussion in 'Android Questions' started by Tomas Petrus, May 7, 2015.

  1. Tomas Petrus

    Tomas Petrus Active Member Licensed User


    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

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    Add the second searchview before you add the first one (the one at the top).
  3. basicuser27

    basicuser27 Member Licensed 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
  4. ilan

    ilan Expert Licensed User

    I am not on my pc right now but does not searchview has Searchview.bringtofront like all other views?? (Or sendtoback...)
  5. basicuser27

    basicuser27 Member Licensed User


    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)
    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)
    str2 = str1
    End If
    AddItemsToList(prefixList.Get(str2), str1)
    AddItemsToList(substringList.Get(str2), str1)
    End Sub
  1. 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.
    Dismiss Notice