示例#1
0
 /** Comments button in action bar was clicked */
 protected void handleCommentsButtonClicked() {
   Intent intent = new Intent(getActivity(), TagUpdatesActivity.class);
   intent.putExtra(TagViewFragment.EXTRA_TAG_DATA, getActiveTagData());
   startActivity(intent);
   AndroidUtilities.callOverridePendingTransition(
       getActivity(), R.anim.slide_left_in, R.anim.slide_left_out);
 }
示例#2
0
 @Override
 public void finish() {
   InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
   imm.hideSoftInputFromWindow(filterName.getWindowToken(), 0);
   super.finish();
   AndroidUtilities.callOverridePendingTransition(
       this, R.anim.slide_right_in, R.anim.slide_right_out);
 }
示例#3
0
 public void transitionForTaskEdit() {
   AndroidUtilities.callOverridePendingTransition(
       getActivity(), R.anim.slide_left_in, R.anim.slide_left_out);
 }
示例#4
0
 @Override
 public void finish() {
   super.finish();
   AndroidUtilities.callOverridePendingTransition(
       this, R.anim.slide_right_in, R.anim.slide_right_out);
 }