Reduce the border radius #556
This commit is contained in:
parent
1d6c0cacae
commit
dcc333dafd
|
@ -1177,7 +1177,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
if( !((Activity)context).isFinishing())
|
||||
Glide.with(holder.status_cardview_image.getContext())
|
||||
.load(card.getImage())
|
||||
.apply(new RequestOptions().transforms(new CenterCrop(), new RoundedCorners((int)Helper.convertDpToPixel(7, context))))
|
||||
.apply(new RequestOptions().transforms(new CenterCrop(), new RoundedCorners((int)Helper.convertDpToPixel(3, context))))
|
||||
.into(holder.status_cardview_image);
|
||||
}else
|
||||
holder.status_cardview_image.setVisibility(View.GONE);
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
android:color="@color/notif_dark_3"
|
||||
/>
|
||||
|
||||
<corners android:bottomRightRadius="7dp" android:bottomLeftRadius="7dp"
|
||||
android:topLeftRadius="7dp" android:topRightRadius="7dp"/>
|
||||
<corners android:bottomRightRadius="3dp" android:bottomLeftRadius="3dp"
|
||||
android:topLeftRadius="3dp" android:topRightRadius="3dp"/>
|
||||
</shape>
|
Loading…
Reference in New Issue