Пример #1
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.gw_showapp);
   proDialog =
       ProgressDialog.show(
           GTShowPackageActivity.this, "Searching..", "searching..wait....", true, true);
   Thread loginThread = new Thread(new ShowappHandler());
   loginThread.start();
 }
Пример #2
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.gt_floatview_setting);
    TextView tv_back = (TextView) findViewById(R.id.tv_back);
    tv_back.setOnClickListener(back);

    show_quickswitch = (RadioGroup) findViewById(R.id.show_quickswitch);
    show_profiler = (RadioButton) findViewById(R.id.show_profiler);
    show_gw = (RadioButton) findViewById(R.id.show_gw);

    cb_show_Switch = (GTCheckBox) findViewById(R.id.cb_switch);
    isShow = GTPref.getGTPref().getBoolean(GTPref.AC_SWITCH_FLAG, true);
  }