I created an object that extends android.view.View
, overriding draw()
and have it displaying on the screen. To put you in the picture, it is a display of digits to represent a game score. It's displaying correctly horizontally, however, it is taking up the full height of the screen - pushing all other elements off the screen.
I've put layout_height="wrap_content"
in the xml, but it has no effect.
Does anyone know what I am doing wrong?