Android ImageButton does not display image, even though it is visible in the Designer preview try using only src instead of srcCompat and see if it works