bug 624537 - style adjustments to splashscreen r=dougt a=blocking-fennec

This commit is contained in:
Brad Lassey 2011-01-11 00:50:20 -05:00
Родитель c35619b0c9
Коммит f9abb0bc5c
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -116,7 +116,7 @@ class GeckoSurfaceView
int w = drawable.getIntrinsicWidth();
int h = drawable.getIntrinsicHeight();
int x = (width - w)/2;
int y = (height - h)/2;
int y = (height - h)/2 - 16;
drawable.setBounds(x, y, x + w, y + h);
drawable.draw(c);
Paint p = new Paint();
@ -124,7 +124,7 @@ class GeckoSurfaceView
p.setTextSize(32f);
p.setAntiAlias(true);
p.setColor(res.getColor(R.color.splash_font));
c.drawText(GeckoSurfaceView.mSplashStatusMsg, width/2, y + h + 32, p);
c.drawText(GeckoSurfaceView.mSplashStatusMsg, width/2, y + h + 16, p);
holder.unlockCanvasAndPost(c);
}

Просмотреть файл

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="splash_background">#3a3a3a</color>
<color name="splash_background">#000000</color>
<color name="splash_font">#ffffff</color>
</resources>