Kotlin, Inflated EditText, when keyboard shows, view is crumbled
when keyboard is up, inflated view show weird.
what may be the problem ?
val inflater = it.context?.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater?
val menuPopup = inflater!!.inflate(R.layout.popup_search_new_cosmetics,null)
val popup = PopupWindow(menuPopup, WindowManager.LayoutParams.MATCH_PARENT,
WindowManager.LayoutParams.MATCH_PARENT, true)
popup.showAtLocation(menuPopup, Gravity.CENTER,0,0)
val imgClose =...