Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
public class CustomBackground extends View{ public CustomBackground(Context context, AttributeSet attrs) { super(context, attrs); // TODO Auto-generated constructor stub mRect = new Rect(40, 0, 310, 90); mDrawable = new GradientDrawable (GradientDrawable.Orientation.TOP_BOTTOM, new int[] { 0xFFA5C3E9, 0xFF548DD4 }); mDrawable.setShape(GradientDrawable.RECTANGLE); mDrawable.setGradientRadius((float)(Math.sqrt(2) * 60)); } private Rect mRect; private GradientDrawable mDrawable; public CustomBackground(Context context) { super(context); // TODO Auto-generated constructor stub mRect = new Rect(40, 0, 310, 90); mDrawable = new GradientDrawable (GradientDrawable.Orientation.TOP_BOTTOM, new int[] { 0xFFA5C3E9, 0xFF548DD4 }); mDrawable.setShape(GradientDrawable.RECTANGLE); mDrawable.setGradientRadius((float)(Math.sqrt(2) * 60)); } void setCornerRadii(GradientDrawable drawable, float r0, float r1, float r2, float r3) { drawable.setCornerRadii(new float[] { r0, r0, r1, r1, r2, r2, r3, r3 }); } @Override protected void onDraw(Canvas canvas) { // TODO Auto-generated method stub //super.onDraw(canvas); System.out.println("ON DRAW CALLED"); mDrawable.setBounds(mRect); float r = 10; canvas.translate(10, 10); mDrawable.setGradientType(GradientDrawable.LINEAR_GRADIENT); setCornerRadii(mDrawable, r, r, r, r); mDrawable.draw(canvas); invalidate(); }