@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.pay_sucess); getTopBar("Ö§¸¶³É¹¦"); initView(); }
@Override public void onCreate(Bundle savedInstanceState) { requestWindowFeature(Window.FEATURE_NO_TITLE); super.onCreate(savedInstanceState); overridePendingTransition(R.anim.slide_left_in, R.anim.hold); setContentView(R.layout.modify_park_jiage); code = getIntent().getExtras().getString("code"); initView(); getParkInfo(); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main1); noBackHasRight("云停宝", "列表"); mapView = (MapView) findViewById(R.id.map); mapView.onCreate(savedInstanceState); DisplayMetrics dm = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(dm); width = dm.widthPixels; height = dm.heightPixels; init(); }
@Override protected void onResume() { super.onResume(); mapView.onResume(); }
@Override protected void onPause() { super.onPause(); mapView.onPause(); }
@Override protected void onDestroy() { super.onDestroy(); mapView.onDestroy(); }
@Override public void finish() { super.finish(); overridePendingTransition(R.anim.hold, R.anim.slide_right_out); }