Exemplo n.º 1
0
 protected void prepareView(View view) {
   sEnableServer = (Switch) view.findViewById(R.id.sw_enable_server);
   sEnableServer.setEnabled(true);
   sEnableServer.setOnCheckedChangeListener(new ServerListener());
   view.findViewById(R.id.ll_mysql_shell).setOnClickListener(this);
   view.findViewById(R.id.ll_package).setOnClickListener(this);
   view.findViewById(R.id.ll_vhost).setOnClickListener(this);
   // view.findViewById(R.id.ll_update).setOnClickListener(this);
   view.findViewById(R.id.ll_about).setOnClickListener(this);
   view.findViewById(R.id.ll_uninstall).setOnClickListener(this);
 }