Bug 956946 - Align menu top to URL bar. r=bnicholson

This commit is contained in:
Eugen Sawin 2014-01-16 15:47:10 -08:00
parent 446e5a5212
commit b2ab04b2a3
2 changed files with 3 additions and 2 deletions

View File

@ -50,9 +50,10 @@
<dimen name="menu_item_row_height">44dp</dimen>
<dimen name="menu_item_row_width">240dp</dimen>
<dimen name="menu_item_more_offset">5dp</dimen>
<dimen name="menu_popup_arrow_offset">8dp</dimen>
<dimen name="menu_popup_arrow_margin">5dip</dimen>
<dimen name="menu_popup_arrow_width">40dip</dimen>
<dimen name="menu_popup_offset">8dp</dimen>
<dimen name="menu_popup_offset">12dp</dimen>
<dimen name="menu_popup_width">256dp</dimen>
<dimen name="nav_button_border_width">0.75dp</dimen>
<dimen name="prompt_service_group_padding_size">32dp</dimen>

View File

@ -46,7 +46,7 @@ public class ArrowPopup extends PopupWindow {
final Resources res = activity.getResources();
mArrowWidth = res.getDimensionPixelSize(R.dimen.menu_popup_arrow_width);
mYOffset = res.getDimensionPixelSize(R.dimen.menu_popup_offset);
mYOffset = res.getDimensionPixelSize(R.dimen.menu_popup_arrow_offset);
setAnimationStyle(R.style.PopupAnimation);
}