Esempio n. 1
0
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_global);

    this.actionBar = (ActionBar) this.findViewById(R.id.actionbar);
    this.actionBar.setTitle("Home");
    bodyLayout = (LinearLayout) findViewById(R.id.bodyLayout);
    this.setHomeNothingAction();
    // this.actionBar.addAction(new ActionBar.IntentAction(this, new Intent(this,
    // HomeActivity.class), R.drawable.vieted_icon));
  }
Esempio n. 2
0
 @Override
 public void onBackPressed() {
   super.onBackPressed();
   overridePendingTransition(android.R.anim.slide_in_left, android.R.anim.slide_out_right);
 }