Bug 838807: Flatten all icons. [r=mfinkle]
--HG-- rename : mobile/android/base/resources/drawable-large-hdpi-v11/ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-hdpi-v11/ic_menu_bookmark_add.png rename : mobile/android/base/resources/drawable-large-hdpi-v11/ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-hdpi-v11/ic_menu_bookmark_remove.png rename : mobile/android/base/resources/drawable-large-mdpi-v11/ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-mdpi-v11/ic_menu_bookmark_add.png rename : mobile/android/base/resources/drawable-large-mdpi-v11/ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-mdpi-v11/ic_menu_bookmark_remove.png rename : mobile/android/base/resources/drawable-large-xhdpi-v11/ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-xhdpi-v11/ic_menu_bookmark_add.png rename : mobile/android/base/resources/drawable-large-xhdpi-v11/ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-xhdpi-v11/ic_menu_bookmark_remove.png
@ -585,7 +585,6 @@ RES_DRAWABLE_BASE = \
|
||||
res/drawable/menu_item_uncheck.png \
|
||||
res/drawable/site_security_identified.png \
|
||||
res/drawable/site_security_verified.png \
|
||||
res/drawable/tabs_menu.png \
|
||||
res/drawable/tabs_normal.png \
|
||||
res/drawable/tabs_private.png \
|
||||
res/drawable/tabs_synced.png \
|
||||
@ -686,7 +685,6 @@ RES_DRAWABLE_HDPI = \
|
||||
res/drawable-hdpi/menu_item_uncheck.png \
|
||||
res/drawable-hdpi/site_security_identified.png \
|
||||
res/drawable-hdpi/site_security_verified.png \
|
||||
res/drawable-hdpi/tabs_menu.png \
|
||||
res/drawable-hdpi/tabs_normal.png \
|
||||
res/drawable-hdpi/tabs_private.png \
|
||||
res/drawable-hdpi/tabs_synced.png \
|
||||
@ -781,7 +779,6 @@ RES_DRAWABLE_XHDPI = \
|
||||
res/drawable-xhdpi/tab_indicator_selected_focused.9.png \
|
||||
res/drawable-xhdpi/site_security_identified.png \
|
||||
res/drawable-xhdpi/site_security_verified.png \
|
||||
res/drawable-xhdpi/tabs_menu.png \
|
||||
res/drawable-xhdpi/tabs_normal.png \
|
||||
res/drawable-xhdpi/tabs_private.png \
|
||||
res/drawable-xhdpi/tabs_synced.png \
|
||||
@ -884,16 +881,11 @@ RES_DRAWABLE_LAND_MDPI_V14 = \
|
||||
res/drawable-land-mdpi-v14/address_bar_url_pressed_pb.9.png \
|
||||
res/drawable-land-mdpi-v14/remote_tabs_off.png \
|
||||
res/drawable-land-mdpi-v14/remote_tabs_on.png \
|
||||
res/drawable-land-mdpi-v14/tab_new.png \
|
||||
res/drawable-land-mdpi-v14/tab_new_pb.png \
|
||||
res/drawable-land-mdpi-v14/tabs_carat.png \
|
||||
res/drawable-land-mdpi-v14/urlbar_stop.png \
|
||||
res/drawable-land-mdpi-v14/menu.png \
|
||||
res/drawable-land-mdpi-v14/menu_pb.png \
|
||||
res/drawable-land-mdpi-v14/reader.png \
|
||||
res/drawable-land-mdpi-v14/site_security_identified.png \
|
||||
res/drawable-land-mdpi-v14/site_security_verified.png \
|
||||
res/drawable-land-mdpi-v14/tabs_menu.png \
|
||||
$(NULL)
|
||||
|
||||
RES_DRAWABLE_LAND_HDPI_V14 = \
|
||||
@ -907,16 +899,11 @@ RES_DRAWABLE_LAND_HDPI_V14 = \
|
||||
res/drawable-land-hdpi-v14/address_bar_url_pressed_pb.9.png \
|
||||
res/drawable-land-hdpi-v14/remote_tabs_off.png \
|
||||
res/drawable-land-hdpi-v14/remote_tabs_on.png \
|
||||
res/drawable-land-hdpi-v14/tab_new.png \
|
||||
res/drawable-land-hdpi-v14/tab_new_pb.png \
|
||||
res/drawable-land-hdpi-v14/tabs_carat.png \
|
||||
res/drawable-land-hdpi-v14/urlbar_stop.png \
|
||||
res/drawable-land-hdpi-v14/menu.png \
|
||||
res/drawable-land-hdpi-v14/menu_pb.png \
|
||||
res/drawable-land-hdpi-v14/reader.png \
|
||||
res/drawable-land-hdpi-v14/site_security_identified.png \
|
||||
res/drawable-land-hdpi-v14/site_security_verified.png \
|
||||
res/drawable-land-hdpi-v14/tabs_menu.png \
|
||||
$(NULL)
|
||||
|
||||
RES_DRAWABLE_LAND_XHDPI_V14 = \
|
||||
@ -930,16 +917,11 @@ RES_DRAWABLE_LAND_XHDPI_V14 = \
|
||||
res/drawable-land-xhdpi-v14/address_bar_url_pressed_pb.9.png \
|
||||
res/drawable-land-xhdpi-v14/remote_tabs_off.png \
|
||||
res/drawable-land-xhdpi-v14/remote_tabs_on.png \
|
||||
res/drawable-land-xhdpi-v14/tab_new.png \
|
||||
res/drawable-land-xhdpi-v14/tab_new_pb.png \
|
||||
res/drawable-land-xhdpi-v14/tabs_carat.png \
|
||||
res/drawable-land-xhdpi-v14/urlbar_stop.png \
|
||||
res/drawable-land-xhdpi-v14/menu.png \
|
||||
res/drawable-land-xhdpi-v14/menu_pb.png \
|
||||
res/drawable-land-xhdpi-v14/reader.png \
|
||||
res/drawable-land-xhdpi-v14/site_security_identified.png \
|
||||
res/drawable-land-xhdpi-v14/site_security_verified.png \
|
||||
res/drawable-land-xhdpi-v14/tabs_menu.png \
|
||||
$(NULL)
|
||||
|
||||
RES_DRAWABLE_LARGE_MDPI_V11 = \
|
||||
@ -953,22 +935,15 @@ RES_DRAWABLE_LARGE_MDPI_V11 = \
|
||||
res/drawable-large-mdpi-v11/address_bar_url_pressed_pb.9.png \
|
||||
res/drawable-large-mdpi-v11/ic_awesomebar_go.png \
|
||||
res/drawable-large-mdpi-v11/ic_awesomebar_search.png \
|
||||
res/drawable-large-mdpi-v11/ic_menu_bookmark_add.png \
|
||||
res/drawable-large-mdpi-v11/ic_menu_bookmark_remove.png \
|
||||
res/drawable-large-mdpi-v11/ic_menu_reload.png \
|
||||
res/drawable-large-mdpi-v11/ic_menu_forward.png \
|
||||
res/drawable-large-mdpi-v11/remote_tabs_off.png \
|
||||
res/drawable-large-mdpi-v11/remote_tabs_on.png \
|
||||
res/drawable-large-mdpi-v11/tab_new.png \
|
||||
res/drawable-large-mdpi-v11/tab_new_pb.png \
|
||||
res/drawable-large-mdpi-v11/urlbar_stop.png \
|
||||
res/drawable-large-mdpi-v11/reader.png \
|
||||
res/drawable-large-mdpi-v11/site_security_identified.png \
|
||||
res/drawable-large-mdpi-v11/site_security_verified.png \
|
||||
res/drawable-large-mdpi-v11/menu.png \
|
||||
res/drawable-large-mdpi-v11/menu_pb.png \
|
||||
res/drawable-large-mdpi-v11/tabs_carat.png \
|
||||
res/drawable-large-mdpi-v11/tabs_menu.png \
|
||||
res/drawable-large-mdpi-v11/tabs_normal.png \
|
||||
res/drawable-large-mdpi-v11/tabs_private.png \
|
||||
res/drawable-large-mdpi-v11/tabs_synced.png \
|
||||
@ -983,22 +958,15 @@ RES_DRAWABLE_LARGE_HDPI_V11 = \
|
||||
res/drawable-large-hdpi-v11/address_bar_url_pressed_pb.9.png \
|
||||
res/drawable-large-hdpi-v11/ic_awesomebar_go.png \
|
||||
res/drawable-large-hdpi-v11/ic_awesomebar_search.png \
|
||||
res/drawable-large-hdpi-v11/ic_menu_bookmark_add.png \
|
||||
res/drawable-large-hdpi-v11/ic_menu_bookmark_remove.png \
|
||||
res/drawable-large-hdpi-v11/ic_menu_reload.png \
|
||||
res/drawable-large-hdpi-v11/ic_menu_forward.png \
|
||||
res/drawable-large-hdpi-v11/remote_tabs_off.png \
|
||||
res/drawable-large-hdpi-v11/remote_tabs_on.png \
|
||||
res/drawable-large-hdpi-v11/tab_new.png \
|
||||
res/drawable-large-hdpi-v11/tab_new_pb.png \
|
||||
res/drawable-large-hdpi-v11/urlbar_stop.png \
|
||||
res/drawable-large-hdpi-v11/reader.png \
|
||||
res/drawable-large-hdpi-v11/site_security_identified.png \
|
||||
res/drawable-large-hdpi-v11/site_security_verified.png \
|
||||
res/drawable-large-hdpi-v11/menu.png \
|
||||
res/drawable-large-hdpi-v11/menu_pb.png \
|
||||
res/drawable-large-hdpi-v11/tabs_carat.png \
|
||||
res/drawable-large-hdpi-v11/tabs_menu.png \
|
||||
res/drawable-large-hdpi-v11/tabs_normal.png \
|
||||
res/drawable-large-hdpi-v11/tabs_private.png \
|
||||
res/drawable-large-hdpi-v11/tabs_synced.png \
|
||||
@ -1013,22 +981,15 @@ RES_DRAWABLE_LARGE_XHDPI_V11 = \
|
||||
res/drawable-large-xhdpi-v11/address_bar_url_pressed_pb.9.png \
|
||||
res/drawable-large-xhdpi-v11/ic_awesomebar_go.png \
|
||||
res/drawable-large-xhdpi-v11/ic_awesomebar_search.png \
|
||||
res/drawable-large-xhdpi-v11/ic_menu_bookmark_add.png \
|
||||
res/drawable-large-xhdpi-v11/ic_menu_bookmark_remove.png \
|
||||
res/drawable-large-xhdpi-v11/ic_menu_reload.png \
|
||||
res/drawable-large-xhdpi-v11/ic_menu_forward.png \
|
||||
res/drawable-large-xhdpi-v11/remote_tabs_on.png \
|
||||
res/drawable-large-xhdpi-v11/remote_tabs_off.png \
|
||||
res/drawable-large-xhdpi-v11/tab_new.png \
|
||||
res/drawable-large-xhdpi-v11/tab_new_pb.png \
|
||||
res/drawable-large-xhdpi-v11/urlbar_stop.png \
|
||||
res/drawable-large-xhdpi-v11/reader.png \
|
||||
res/drawable-large-xhdpi-v11/site_security_identified.png \
|
||||
res/drawable-large-xhdpi-v11/site_security_verified.png \
|
||||
res/drawable-large-xhdpi-v11/menu.png \
|
||||
res/drawable-large-xhdpi-v11/menu_pb.png \
|
||||
res/drawable-large-xhdpi-v11/tabs_carat.png \
|
||||
res/drawable-large-xhdpi-v11/tabs_menu.png \
|
||||
res/drawable-large-xhdpi-v11/tabs_normal.png \
|
||||
res/drawable-large-xhdpi-v11/tabs_private.png \
|
||||
res/drawable-large-xhdpi-v11/tabs_synced.png \
|
||||
@ -1038,32 +999,38 @@ RES_DRAWABLE_XLARGE_MDPI_V11 = \
|
||||
res/drawable-xlarge-mdpi-v11/awesomebar_tab_center.9.png \
|
||||
res/drawable-xlarge-mdpi-v11/awesomebar_tab_left.9.png \
|
||||
res/drawable-xlarge-mdpi-v11/awesomebar_tab_right.9.png \
|
||||
res/drawable-xlarge-mdpi-v11/ic_menu_bookmark_add.png \
|
||||
res/drawable-xlarge-mdpi-v11/ic_menu_bookmark_remove.png \
|
||||
res/drawable-xlarge-mdpi-v11/menu.png \
|
||||
res/drawable-xlarge-mdpi-v11/menu_pb.png \
|
||||
res/drawable-xlarge-mdpi-v11/tabs_button.xml \
|
||||
res/drawable-xlarge-mdpi-v11/tabs_level.xml \
|
||||
res/drawable-xlarge-mdpi-v11/tabs_carat_contracted.png \
|
||||
res/drawable-xlarge-mdpi-v11/tabs_carat_expanded.png \
|
||||
res/drawable-xlarge-mdpi-v11/tabs_level.xml \
|
||||
res/drawable-xlarge-mdpi-v11/tabs_menu.png \
|
||||
$(NULL)
|
||||
|
||||
RES_DRAWABLE_XLARGE_HDPI_V11 = \
|
||||
res/drawable-xlarge-hdpi-v11/awesomebar_tab_center.9.png \
|
||||
res/drawable-xlarge-hdpi-v11/awesomebar_tab_left.9.png \
|
||||
res/drawable-xlarge-hdpi-v11/awesomebar_tab_right.9.png \
|
||||
res/drawable-xlarge-hdpi-v11/ic_menu_bookmark_add.png \
|
||||
res/drawable-xlarge-hdpi-v11/ic_menu_bookmark_remove.png \
|
||||
res/drawable-xlarge-hdpi-v11/menu.png \
|
||||
res/drawable-xlarge-hdpi-v11/menu_pb.png \
|
||||
res/drawable-xlarge-hdpi-v11/tabs_carat_contracted.png \
|
||||
res/drawable-xlarge-hdpi-v11/tabs_carat_expanded.png \
|
||||
res/drawable-xlarge-hdpi-v11/tabs_menu.png \
|
||||
$(NULL)
|
||||
|
||||
RES_DRAWABLE_XLARGE_XHDPI_V11 = \
|
||||
res/drawable-xlarge-xhdpi-v11/awesomebar_tab_center.9.png \
|
||||
res/drawable-xlarge-xhdpi-v11/awesomebar_tab_left.9.png \
|
||||
res/drawable-xlarge-xhdpi-v11/awesomebar_tab_right.9.png \
|
||||
res/drawable-xlarge-xhdpi-v11/ic_menu_bookmark_add.png \
|
||||
res/drawable-xlarge-xhdpi-v11/ic_menu_bookmark_remove.png \
|
||||
res/drawable-xlarge-xhdpi-v11/menu.png \
|
||||
res/drawable-xlarge-xhdpi-v11/menu_pb.png \
|
||||
res/drawable-xlarge-xhdpi-v11/tabs_carat_contracted.png \
|
||||
res/drawable-xlarge-xhdpi-v11/tabs_carat_expanded.png \
|
||||
res/drawable-xlarge-xhdpi-v11/tabs_menu.png \
|
||||
$(NULL)
|
||||
|
||||
RES_COLOR = \
|
||||
|
@ -22,7 +22,7 @@ public class MenuItemActionBar extends ImageButton
|
||||
int size = (int) (context.getResources().getDimension(R.dimen.browser_toolbar_height));
|
||||
setLayoutParams(new ViewGroup.LayoutParams(size, size));
|
||||
|
||||
int padding = size / 4;
|
||||
int padding = (int) (context.getResources().getDimension(R.dimen.browser_toolbar_button_padding));
|
||||
setPadding(padding, padding, padding, padding);
|
||||
setBackgroundResource(R.drawable.action_bar_button);
|
||||
setScaleType(ImageView.ScaleType.FIT_CENTER);
|
||||
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 713 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 761 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 393 B |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 1017 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 672 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 391 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 899 B |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 424 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 879 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 783 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 816 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 883 B |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 424 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 154 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 628 B After Width: | Height: | Size: 507 B |
Before Width: | Height: | Size: 403 B After Width: | Height: | Size: 599 B |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 606 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 431 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 583 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 767 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 497 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 493 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 278 B |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 733 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 500 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 631 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 570 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 547 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 539 B |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 618 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 761 B |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 912 B |