Пример #1
0
  @Override
  protected void onTitleBarCreated(SimpleTitleBar titleBar) {
    super.onTitleBarCreated(titleBar);
    titleBar.setTitle(R.string.title_vehicle_manager);
    titleBar
        .setRightButton(getString(R.string.btn_confirm), Color.TRANSPARENT)
        .setOnRightButtonClickListener(
            new View.OnClickListener() {

              @Override
              public void onClick(View v) {
                if (!invidateInput()) {
                  onTitleBarRightBtnClick();
                }
              }
            });
  }
Пример #2
0
 @Override
 protected void onTitleBarCreated(SimpleTitleBar titleBar) {
   super.onTitleBarCreated(titleBar);
   titleBar.setTitle(R.string.title_scan_bar_code, R.color.black);
 }