Skip to content

android.view.InflateException: Binary XML file line #12 in package:layout/item_power_menu_library_skydoves #101

@itsonegeneral

Description

@itsonegeneral

Please complete the following information:

  • Library Version 2.2.0
  • Affected Device(s) Emulator - Google pixel, compileSDKVersion 31

android.view.InflateException: Binary XML file line #12 in package:layout/item_power_menu_library_skydoves: Binary XML file line #12 in package:layout/item_power_menu_library_skydoves: Error inflating class

Not able to show popup menu in the activity, I'm using
val card =findViewById(R.id.rl)
powerMenu.showAsDropDown(card)

this code to show popup, had tried different views and viewbinding also, but still getting the same error
Anything I'm missing like themes or other required libraries ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions