fix conversation swipe background color
This commit is contained in:
parent
53a4c6cbcb
commit
2b4b0b1212
|
@ -114,7 +114,7 @@ public class ConversationsOverviewFragment extends XmppFragment {
|
|||
super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive);
|
||||
if(actionState != ItemTouchHelper.ACTION_STATE_IDLE){
|
||||
Paint paint = new Paint();
|
||||
paint.setColor(StyledAttributes.getColor(activity,R.attr.conversations_overview_background));
|
||||
paint.setColor(StyledAttributes.getColor(activity,R.attr.colorPrimaryDark));
|
||||
paint.setStyle(Paint.Style.FILL);
|
||||
c.drawRect(viewHolder.itemView.getLeft(),viewHolder.itemView.getTop()
|
||||
,viewHolder.itemView.getRight(),viewHolder.itemView.getBottom(), paint);
|
||||
|
|
Loading…
Reference in a new issue