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)
package org.anddev.android.customviews; import java.util.Map; import android.content.Context; import android.util.AttributeSet; import android.widget.Button; public class ToggleButton extends Button { // =========================================================== // Fields // =========================================================== protected boolean isChecked = false; // =========================================================== // Constructors // =========================================================== public ToggleButton(Context context) { super(context); } public ToggleButton(Context context, AttributeSet attrs, Map params) { super(context, attrs, params); } // =========================================================== // Getter & Setter // =========================================================== public boolean isChecked() { return this.isChecked; } // =========================================================== // Methods // =========================================================== @Override public boolean performClick() { this.isChecked = !this.isChecked; return super.performClick(); } /** Return an array of resource IDs of * the Drawable states representing the * current state of the view. */ @Override public int[] createDrawableState() { int[] states; if (this.isChecked()) { // Checked states = Button.PRESSED_STATE_SET; } else { // Unchecked if (super.hasFocus()) { /* Unchecked && Focus * System highlights the Button */ states = super.createDrawableState(); } else { // Unchecked && noFocus states = Button.LAST_STATE_SET; } } return states; } }