Esempio n. 1
0
 protected void onCreate(android.os.Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_ocr_language);
   mList = (ListView) findViewById(R.id.list_ocr_languages);
   mSwitcher = (ViewSwitcher) findViewById(R.id.viewSwitcher_language_list);
   initAppIcon(this, -1);
   getSupportActionBar().setDisplayHomeAsUpEnabled(true);
   new LoadListAsyncTask().execute();
 };
Esempio n. 2
0
 @Override
 protected void onPause() {
   super.onPause();
   overridePendingTransition(R.anim.slide_in_left, R.anim.slide_out_right);
 }
Esempio n. 3
0
 @Override
 protected synchronized void onDestroy() {
   super.onDestroy();
   unregisterReceiver(mDownloadReceiver);
   unregisterReceiver(mFailedReceiver);
 }