use high-contrast for mini-window (same as arrow)

This commit is contained in:
Andy2 2011-03-05 23:21:38 -08:00
parent 58d29fbb26
commit 0e86467ea1

View file

@ -665,11 +665,11 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
public void drawMiniWindow( String text, Rect rect )
{
fillRect( rect, WHITE );
fillRect( rect, darkOnLight()? BLACK : WHITE );
m_fillPaint.setTextSize( k_miniTextSize );
m_fillPaint.setTextAlign( Paint.Align.CENTER );
m_fillPaint.setColor( BLACK );
m_fillPaint.setColor( darkOnLight()? WHITE : BLACK );
String[] lines = text.split("\n");
int lineHt = rect.height() / lines.length;