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)
@SuppressWarnings("deprecation") public class PanoramaLayout extends AbsoluteLayout { public PanoramaLayout(Context context) { super(context); // TODO Auto-generated constructor stub } public PanoramaLayout(Context context, AttributeSet attrs) { super(context, attrs); // TODO Auto-generated constructor stub } public PanoramaLayout(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); // TODO Auto-generated constructor stub } @Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { int layoutWidth; int layoutHight; // Find out how big everyone wants to be measureChildren(widthMeasureSpec, heightMeasureSpec); //Give Layout its maximum size keeping the backgrounds aspect ratio if(MeasureSpec.getMode(widthMeasureSpec)== MeasureSpec.AT_MOST && MeasureSpec.getMode(heightMeasureSpec)== MeasureSpec.AT_MOST){ float widthRate = (float)MeasureSpec.getSize(widthMeasureSpec) / (float)getBackground().getIntrinsicWidth(); float heightRate = (float)MeasureSpec.getSize(heightMeasureSpec) / (float)getBackground().getIntrinsicHeight(); float rate = Math.min(widthRate, heightRate); layoutWidth = (int)(getBackground().getIntrinsicWidth()*rate); layoutHight = (int)(getBackground().getIntrinsicHeight()*rate); }else{ layoutWidth = getBackground().getIntrinsicWidth(); layoutHight = getBackground().getIntrinsicHeight(); } // Account for padding too layoutWidth += getPaddingLeft() + getPaddingRight(); layoutHight += getPaddingTop() + getPaddingBottom(); // Write measurements setMeasuredDimension(resolveSize(layoutWidth, widthMeasureSpec), resolveSize(layoutHight, heightMeasureSpec)); } @Override protected void onLayout(boolean changed, int l, int t, int r, int b) { int count = getChildCount(); for (int i = 0; i < count; i++) { View child = getChildAt(i); if (child.getVisibility() != GONE) { AbsoluteLayout.LayoutParams lp = (AbsoluteLayout.LayoutParams) child.getLayoutParams(); int childLeft = getPaddingLeft() + (lp.x*(r-l)/100); int childTop = getPaddingTop() + (lp.y*(b-t)/100); child.layout(childLeft, childTop, childLeft + child.getMeasuredWidth(), childTop + child.getMeasuredHeight()); } } } }