Example usage for android.view View.OnClickListener interface-usage

List of usage examples for android.view View.OnClickListener interface-usage

Introduction

In this page you can find the example usage for android.view View.OnClickListener interface-usage.

Usage

From source file com.rastating.droidbeard.ErrorReportActivity.java

public class ErrorReportActivity extends Activity implements View.OnClickListener {
    JSONObject mReport;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

From source file br.com.frs.foodrestrictions.AppConfig.java

public class AppConfig extends Fragment implements View.OnClickListener {

    private AppSettings appSettings;
    private CheckBox cbMakeItSerious;

    @Override

From source file com.commonsware.android.dfrag.ContentFragment.java

public class ContentFragment extends Fragment implements View.OnClickListener {
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View result = inflater.inflate(R.layout.mainfrag, container, false);

        result.findViewById(R.id.showOther).setOnClickListener(this);

From source file com.appyvet.rangebarsample.colorpicker.ColorPickerSwatch.java

/**
 * Creates a circular swatch of a specified color.  Adds a checkmark if marked as checked.
 */
public class ColorPickerSwatch extends FrameLayout implements View.OnClickListener {

    private int mColor;

From source file com.cnm.cnmrc.fragment.popup.PopBase.java

public class PopBase extends DialogFragment implements View.OnClickListener {

    TextView mTitle, mLine1, mLine2;
    Button mYes, mNo;

    @Override

From source file com.cnm.cnmrc.fragment.popup.PopupBase.java

public class PopupBase extends DialogFragment implements View.OnClickListener {

    TextView mTitle, mLine1, mLine2;
    Button mYes, mNo;

    @Override

From source file com.commonsware.android.sfrag.ContentFragment.java

public class ContentFragment extends Fragment implements View.OnClickListener {
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View result = inflater.inflate(R.layout.mainfrag, container, false);

        result.findViewById(R.id.showOther).setOnClickListener(this);

From source file com.android.gallery3d.filtershow.presets.PresetManagementDialog.java

public class PresetManagementDialog extends DialogFragment implements View.OnClickListener {
    private UserPresetsAdapter mAdapter;
    private EditText mEditText;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

From source file com.android.gallery3d.v5.filtershow.presets.PresetManagementDialog.java

public class PresetManagementDialog extends DialogFragment implements View.OnClickListener {
    private UserPresetsAdapter mAdapter;
    private EditText mEditText;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

From source file com.android.argb.edhlc.colorpicker.ColorPickerSwatch.java

/**
 * Creates a circular swatch of a specified color.  Adds a checkmark if marked as checked.
 */
@SuppressLint("ViewConstructor")
public class ColorPickerSwatch extends FrameLayout implements View.OnClickListener {
    private int mColor;