activity调用requestWindowFeature(Window.FEATURE_NO_TITLE)会停止运行
wangdadao2012 opened this issue · comments
问题描述
只要activity里调用了requestWindowFeature(Window.FEATURE_NO_TITLE)会导致停止运行
出问题的代码
final float factor = 0.5f;
// final int edgeSize = SmartSwipe.dp2px(50, this);
final int shadowColor = 0x80000000;
final int shadowSize = SmartSwipe.dp2px(10, this);
//仿微信侧滑返回(activitySlidingBack)方案在5.0以下默认使用仿手机QQ的侧滑方案(activityStayBack)
SmartSwipeBack.activitySlidingBack(this
, new MyActivitySwipeBackFilter()
, 0
, Color.TRANSPARENT
, shadowColor
, shadowSize
, factor
, DIRECTION_LEFT);
当前使用的SmartSwipe版本号:
1.1.2