Skip to content

SearchView does not open if Toolbar elevation is set #138

@IgorKrupenja

Description

@IgorKrupenja

Steps:

  1. Open the sample app project in Android Studio.
  2. Add the android:elevation="2dp" attribute to android.support.v7.widget.Toolbar in `activity_main.xml.
  3. Run app.
  4. 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.
screenshot_20180705-175823

Sample app works OK without the android:elevation="2dp" attribute. Note that I never had any problems using elevation in own projects.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions