In expandable Notifications: what dimensions (in dp) should the icons have? Like the Icons for Snooze and Email here:
Android Status Bar icons are notifications in the graphical user interface (GUI) from apps running on your device. These notifications can contain text, graphics, and even controls.
Icons are a way to provide a more unique, branded experience for your Android and Amazon app. You may add a default icon that appears with every notification you send, or you may add icons to just certain types of notifications.
Push notifications are automated notifications that the app sends mobile users if the push notification feature is enabled. When a push notification is sent, Android devices show a small push icon in the status bar and notification drawer.
So to clarify this, I found the following in the Javadoc within the Android support library:
Add an action to this notification. Actions are typically displayed by the system as a button adjacent to the notification content.
Every action must have an icon (32dp square and matching the Holo Dark action bar visual style, a textual label, and a
PendingIntent
.A notification in its expanded form can display up to 3 actions, from left to right in the order they were added. Actions will not be displayed when the notification is collapsed, however, so be sure that any essential functions may be accessed by the user in some other way.
So these should be identical to your action bar icons (for the Holo Dark theme), which is:
Asset Size: 32dp x 32dp
Optical Square: 24dp x 24dp
Color (Enabled): #FFFFFF 80% opacity
Color (Disabled): #FFFFFF 30% opacity
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