bug 624537 - style adjustments to splashscreen r=dougt a=blocking-fennec
authorBrad Lassey <blassey@mozilla.com>
Tue, 11 Jan 2011 00:50:20 -0500
changeset 60271 3ac595ba8c4337abfad036c404ef8c3637acbdc9
parent 60270 e830f4b554a4a75a46750d1a5aed9a9faf504198
child 60272 4e5759d65e00928927a99b5960d46b83a3475e0c
push idunknown
push userunknown
push dateunknown
reviewersdougt, blocking-fennec
bugs624537
milestone2.0b10pre
bug 624537 - style adjustments to splashscreen r=dougt a=blocking-fennec
embedding/android/GeckoSurfaceView.java
embedding/android/resources/values/colors.xml
--- a/embedding/android/GeckoSurfaceView.java
+++ b/embedding/android/GeckoSurfaceView.java
@@ -111,25 +111,25 @@ class GeckoSurfaceView
             return;
         }
         Resources res = getResources();
         c.drawColor(res.getColor(R.color.splash_background));
         Drawable drawable = res.getDrawable(R.drawable.splash);
         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();
         p.setTextAlign(Paint.Align.CENTER);
         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);
     }
 
     /*
      * Called on main thread
      */
 
     public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
--- a/embedding/android/resources/values/colors.xml
+++ b/embedding/android/resources/values/colors.xml
@@ -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>