Fix ActionMenuView vertical alignment of items
BUG: 18066203 Change-Id: I2a34f5b8b33e1e0f32c54acf79b281290fc047f1
This commit is contained in:
@@ -429,7 +429,7 @@ public class ActionMenuView extends LinearLayout implements MenuBuilder.ItemInvo
|
||||
}
|
||||
|
||||
final int childCount = getChildCount();
|
||||
final int midVertical = (top + bottom) / 2;
|
||||
final int midVertical = (bottom - top) / 2;
|
||||
final int dividerWidth = getDividerWidth();
|
||||
int overflowWidth = 0;
|
||||
int nonOverflowWidth = 0;
|
||||
|
||||
Reference in New Issue
Block a user