Android Studio – show popup as Dropdown when I click specific button
val xoffset = 25 val yoffset = 0 binding.filterButton.setOnClickListener{ popup.showAsDropDown(binding.filterButton,xoffset,yoffset) } yoffset works properly if I give any value it will work but xoffset not work i want show popup as a dropdown button bottom left side.