Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Action Bar icon size

According to Action Bar Icons action bar icon for the mdpi screen should be 24 x 24 px but the icons in Action Bar Icon Pack for mdpi are 32 x 32 px. The sizes do not match for other screen sizes neither. So which one is correct and what dimensions should the action bar icon have?

like image 223
Giorgi Avatar asked Jun 28 '12 12:06

Giorgi


People also ask

What is a good icon size?

Icons work best at the power of 8. So always try and make your icon sizes divisible by 8 — this depends on what grid you're using, if you're using a 10x10 grid then make icons divisible by 10. For best results keep icon sizes consistent with your font sizes.

What is action bar icon?

The ActionBar, now known as the App Bar, is a consistent navigation element that is standard throughout modern Android applications. The ActionBar can consist of: An application icon. An "upward" navigation to logical parent. An application or activity-specific title.

What size are tab icons?

Icon: 22 x 22 px.


2 Answers

-------update 2015.10.17--------

The new google design gideline says:"System icons are displayed at 24dp","Icon content is limited to the 20 x 20dp live area, with 4px of trim around the perimeter".Like:

enter image description here ------old-------

Full asset, 32x32 dp; Optical square, 24x24 dp

enter image description here

like image 81
wangqi060934 Avatar answered Sep 19 '22 17:09

wangqi060934


UPDATE: this answer is no longer valid, see the below answer for more up-to-date guidelines.

I believe they have to be 32x32dp, but the actual image itself should be 24dpx24dp centred. The Android design website has the correct guidelines.

I've submitted a bug report about this but have yet to hear anything...

like image 23
Alex Curran Avatar answered Sep 19 '22 17:09

Alex Curran