出行动态
    分享按钮背景
    Tab选中加粗效果
    上边距,左边
    关闭按钮位置
    去掉了列表上方标题的加粗
    没有更多记录的颜色
This commit is contained in:
董宏宇
2020-09-16 17:11:02 +08:00
parent 2f57b905bb
commit eaa4cd8db9
7 changed files with 11 additions and 20 deletions

View File

@@ -20,13 +20,6 @@ public class SpacesItemDecoration extends RecyclerView.ItemDecoration {
@Override
public void getItemOffsets(Rect outRect, View view,
RecyclerView parent, RecyclerView.State state) {
outRect.left = space;
outRect.right = space;
outRect.bottom = space;
// Add top margin only for the first item to avoid double space between items
if (parent.getChildPosition(view) == 0) {
outRect.top = space;
}
}
}