@Override
  protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    setContentView(R.layout.hidden_addcheck_choice);

    initComponent();
    initButClick();

    topbar_hidden_add_choice.setTopBarClick(
        new ITopBarClick() {

          @Override
          public void onClickRightBut() {
            // TODO Auto-generated method stub
          }

          @Override
          public void onClickLeftBut() {
            // TODO Auto-generated method stub
            finish();
          }
        });
    topbar_hidden_add_choice.setRightButVisibility(View.GONE);
  }
예제 #2
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    setContentView(R.layout.en_check_list);

    NotificationManager manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
    manager.cancel(12312);

    initComponent();

    topbar_file_tf_operate.setTopBarClick(
        new ITopBarClick() {

          @Override
          public void onClickRightBut() {}

          @Override
          public void onClickLeftBut() {
            finish();
          }
        });
    topbar_file_tf_operate.setTitle("信息提醒历史记录");
    topbar_file_tf_operate.setRightButVisibility(View.GONE);

    initData();
  }
예제 #3
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    setContentView(R.layout.dialogtest);
    initComponent();

    but01.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            click01();
          }
        });

    but02.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            click02();
          }
        });

    but03.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            click03();
          }
        });

    but04.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            click04();
          }
        });

    but05.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            click05();
          }
        });

    but06.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            click06();
          }
        });

    but07.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            click07();
          }
        });

    but08.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            click08();
          }
        });

    but09.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            click09();
          }
        });

    but10.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            try {
              click10();
            } catch (InterruptedException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
            }
          }
        });

    but11.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            try {
              click11();
            } catch (InterruptedException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
            }
          }
        });

    but12.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // TODO Auto-generated method stub
            try {
              click12();
            } catch (InterruptedException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
            }
          }
        });
  }