Browse Source

[마이][Bug] 자주 찾는 질문: 탭 하단과 프래그먼트 사이 간격 조절

hyodong.min 7 years ago
parent
commit
902bc86db7

+ 1 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/fragment/faq/FAQFragment.java

@@ -100,7 +100,7 @@ public class FAQFragment extends Fragment {
       @Override
       public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) {
         super.getItemOffsets(outRect, view, parent, state);
-        outRect.top = ResourceUtil.dpToPx(12);
+        outRect.bottom = ResourceUtil.dpToPx(12);
       }
     });
   }

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

@@ -15,7 +15,7 @@
     android:layout_marginBottom="10dp"
     android:layout_marginLeft="25dp"
     android:layout_marginRight="25dp"
-    android:layout_marginTop="25dp"
+    android:layout_marginTop="26dp"
     android:divider="@color/CFFFFFF"
     android:dividerHeight="50dp">