浏览代码

[카테고리메인][Common] 배너뷰 간격 조정

Hasemi 6 年之前
父节点
当前提交
8f5afe4b90

+ 2 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/event/CustomIndicator.java

@@ -50,7 +50,8 @@ public class CustomIndicator extends View {
 
   private static final float DP = Resources.getSystem().getDisplayMetrics().density;
   private final int mIndicatorHeight = (int) (DP * 16);
-  private final float mIndicatorStrokeWidth = DP * 10;
+  //private final float mIndicatorStrokeWidth = DP * 10;
+  private final float mIndicatorStrokeWidth = DP * 5;
   private final float mIndicatorItemLength = DP * 4;
   private final float mIndicatorItemPadding = DP * 8;
   private final Paint mPaint = new Paint();

+ 1 - 1
app/src/main/res/layout/main_banner_view.xml

@@ -15,7 +15,7 @@
     android:id="@+id/custom_indicator"
     android:layout_width="match_parent"
     android:layout_height="18dp"
-    android:layout_marginBottom="2dp"
+    android:layout_marginBottom="5dp"
     app:layout_constraintBottom_toBottomOf="@+id/recycler_view_main_banner_view"
     app:layout_constraintEnd_toEndOf="parent"
     app:layout_constraintStart_toStartOf="parent"