@Override protected void onPostCreate(Bundle savedInstanceState) { super.onPostCreate(savedInstanceState); final GestureDetector gd = ForwardableActivityUtil.createFlickGestureDetector(this); getExpandableListView() .setOnTouchListener( new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { return gd.onTouchEvent(event); } }); }
@Override protected void onCreate(Bundle savedInstanceState) { if (getTuboroidApplication().isFullScreenMode()) { getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); } else { getWindow().addFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); } setRequestedOrientation(getTuboroidApplication().getCurrentScreenOrientation()); getTuboroidApplication().applyTheme(this); setting_invalidate_checker_ = getTuboroidApplication().getSettingInvalidateChecker(); super.onCreate(savedInstanceState); ForwardableActivityUtil.onCreate(this); }
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { ForwardableActivityUtil.onActivityResult(this, data); super.onActivityResult(requestCode, resultCode, data); }