I am implementing an AbstractAccountAuthenticator and I cannot find any information regarding the dimensions of the icon, and smallIcon drawables required.
There is a SampleSyncAdapter which is a sample demo for implementing the above (It also demonstrates how to implement an AbstractThreadedSyncAdapter), but it only defines 1 drawable resource for both icon and smallIcon.
Does anyone know the standard and required pixel sizes for both of these resources?
For high-density screens (drawable-hdpi):
for medium-density screens (drawable-mdpi):
One drawable resource for both in /drawable is the default drawable resource, and it's designed for normal screen size and a medium density. The system scales default density resources up for high-density screens and down for low-density screens so it's better if you make a directory for hdpi and another one for mdpi with the given size of icons.
Hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With