我无法获得居中的菜单。我有图像等中心很好,但我不能居中菜单。 下面是一些网站的CSS,涉及到的菜单: @charset "UTF-8";
/* CSS Document */
#nav {
width:975px; /* six main menu buttons at 150px per */
margin:1 auto; /* Based on a sugg
我尝试使用下面的代码居中屏幕上的减号在屏幕上减: text = "-";
textPosition = new Point();
Rect bounds = new Rect();
paint.getTextBounds(text, 0, text.length(), bounds);
paint.setTextAlign(Paint.Align.CENTER);
textPositio