mirror of https://github.com/M66B/FairEmail.git
Fix
This commit is contained in:
parent
6e413f5420
commit
d776421d20
|
@ -33,16 +33,20 @@ import androidx.preference.PreferenceManager;
|
|||
public class ViewCardOptional extends CardView {
|
||||
public ViewCardOptional(@NonNull Context context) {
|
||||
super(context);
|
||||
setCardBackgroundColor(Color.TRANSPARENT);
|
||||
}
|
||||
|
||||
public ViewCardOptional(@NonNull Context context, @Nullable AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
setCardBackgroundColor(Color.TRANSPARENT);
|
||||
}
|
||||
|
||||
public ViewCardOptional(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
|
||||
super(context, attrs, defStyleAttr);
|
||||
setCardBackgroundColor(Color.TRANSPARENT);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected void onAttachedToWindow() {
|
||||
super.onAttachedToWindow();
|
||||
|
@ -66,8 +70,6 @@ public class ViewCardOptional extends CardView {
|
|||
setRadius(0);
|
||||
setElevation(0);
|
||||
}
|
||||
|
||||
setCardBackgroundColor(Color.TRANSPARENT);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue