Reputation: 7945
I have a LinearLayout
which contains a set of buttons: first one is a simple ImageButton
and others are ImageButton subclasses which only contain some custom logic (presentation is not overidden). All images have the same sizes (50dp
), but the first one is drawn larger than it is. Did someone face such trouble?
PS: this layout is also used for tablets and everything is ok there. I really disappointed.
UPD: I'll leave it here for the case if someone else will face such troubles. I made a silly typo in a drawable name. Be careful with the filenames.
Upvotes: 0
Views: 70
Reputation: 11073
When I've had that problem, I had a misnamed file in one of the drawables folders.
Upvotes: 1