소스 검색

slidr from touch center middle

hanjing 6 년 전
부모
커밋
5986856f49
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      app/src/main/java/com/sheep/gamegroup/absBase/BaseActivity.java

+ 3 - 3
app/src/main/java/com/sheep/gamegroup/absBase/BaseActivity.java

@@ -123,14 +123,14 @@ public abstract class BaseActivity extends RxAppCompatActivity implements BackHa
 //                        .secondaryColor(getResources().getColor(R.color.secondary)
 //                                .position(SlidrPosition.LEFT|RIGHT|TOP|BOTTOM|VERTICAL|HORIZONTAL)
                                 .position(SlidrPosition.HORIZONTAL)
-                                .sensitivity(1f)
+                                .sensitivity(0.2f)
                                 .scrimColor(Color.BLACK)
                                 .scrimStartAlpha(0.8f)
                                 .scrimEndAlpha(0f)
                                 .velocityThreshold(2400)
                                 .distanceThreshold(0.25f)
-                                .edge(true)
-                                .edgeSize(0.18f) // The % of the screen that counts as the edge, default 18%
+//                                .edge(true)
+//                                .edgeSize(0.18f) // The % of the screen that counts as the edge, default 18%
                                 .listener(new SlidrListener(){
 
                                     @Override