SearchView does not open if Toolbar elevation is set
Opened this issue · 0 comments
IgorKrupenja commented
Steps:
- Open the sample app project in Android Studio.
- Add the
android:elevation="2dp"
attribute toandroid.support.v7.widget.Toolbar
in `activity_main.xml. - Run app.
- Click on search icon (magnifying glass).
Expected result:
SearchView opens correctly and you can input text.
Actual result:
SearchView does not open, animation does not play. Keyboard actually appears on screen but pressing keys has no result.
Sample app works OK without the android:elevation="2dp"
attribute. Note that I never had any problems using elevation in own projects.