mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user