I don't understand how available height qualifier works. I'm using :
val displayMetrics = DisplayMetrics()
windowManager.defaultDisplay.getMetrics(displayMetrics)
val height = displayMetrics.heightPixels
val width = displayMetrics.widthPixels
Toast.makeText(this, "$height", Toast.LENGTH_LONG).show()
to show the available screen height of Nexus One and get 800h. I don't have a bottom navigation bar or action bar on screen. I add a second dimension with height 800 and set my resources but it's not working.