Browse Source

[북마크][Common] 나의 북마크 리스트 디자인 검수 반영

Hasemi 6 years ago
parent
commit
3c303f11dc

+ 6 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/my/bookmark/DefaultBookMarkFragment.java

@@ -6,6 +6,7 @@ import android.support.annotation.NonNull;
 import android.support.annotation.Nullable;
 import android.support.v7.widget.LinearLayoutManager;
 import android.support.v7.widget.RecyclerView;
+import android.util.Log;
 import android.view.LayoutInflater;
 import android.view.View;
 import android.view.ViewGroup;
@@ -91,9 +92,13 @@ public class DefaultBookMarkFragment extends FragmentBase<DefaultBookMarkPresent
       @Override
       public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) {
         super.getItemOffsets(outRect, view, parent, state);
-        outRect.top = ResourceUtil.dpToPx(17);
+
+        Log.e("APP#  DefaultBookMarkFragment | getItemOffsets", "|" + parent.getChildAdapterPosition(view));
+        outRect.top = parent.getChildAdapterPosition(view) == 2 ? ResourceUtil.dpToPx(0) : ResourceUtil.dpToPx(17);
         outRect.bottom = ResourceUtil.dpToPx(17);
       }
     });
+
+
   }
 }

+ 2 - 2
app/src/main/res/layout/book_mark_list_with_title_view.xml

@@ -10,10 +10,10 @@
     android:id="@+id/text_view_title"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
-    android:layout_marginTop="5dp"
     android:layout_marginBottom="20dp"
     android:textColor="@color/C000000"
     android:textSize="15sp"
+    android:textStyle="bold"
     app:layout_constraintBottom_toTopOf="@+id/fifth_layout"
     app:layout_constraintStart_toStartOf="parent"
     app:layout_constraintTop_toTopOf="parent"
@@ -47,7 +47,7 @@
       android:layout_marginStart="18dp"
       android:layout_marginTop="16dp"
       android:ellipsize="end"
-      android:lineSpacingExtra="6sp"
+      android:lineSpacingExtra="4sp"
       android:maxLength="25"
       android:maxLines="2"
       android:textColor="@color/C000000"

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

@@ -32,7 +32,7 @@
     android:layout_height="wrap_content"
     android:layout_marginStart="25dp"
     android:layout_marginTop="16dp"
-    android:layout_marginBottom="63dp"
+    android:layout_marginBottom="50dp"
     app:layout_constraintBottom_toBottomOf="parent"
     app:layout_constraintStart_toStartOf="parent"
     app:layout_constraintTop_toBottomOf="@+id/first_layout">

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

@@ -27,7 +27,7 @@
         android:layout_gravity="end"
         android:layout_marginTop="15dp"
         android:layout_marginEnd="15dp"
-        android:layout_marginBottom="17dp"
+        android:layout_marginBottom="15dp"
         android:background="@null"
         android:focusable="true"
         android:gravity="end"