android - Image size for ActionBarSherlock background -


if art asset made intended use background of actionbar, size (in pixels) should request? have found referencing size of actionbar has been in dp, i'm unsure best absolute size go actual .png file. thanks!

the action bar can 40, 48, or 56 dp in height depending on configuration. means because of how android scales things density there 9 different absolute pixel heights. width varies depending on device, of course.

your best bet use 9-patch drawables or create drawable using shape xml can adapt infinite number of configurations of devices.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -