Fix edged effects

This commit is contained in:
tom79 2019-11-06 17:51:28 +01:00
parent 38c8e9fa83
commit c0cd1a4754
2 changed files with 5 additions and 5 deletions

View File

@ -2097,7 +2097,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
}
int statusColor = prefs.getInt("theme_statuses_color", -1);
if( holder.main_card_container != null && statusColor != -1 ){
holder.main_card_container.setBackgroundColor(statusColor);
holder.main_card_container.setCardBackgroundColor(statusColor);
}
if( holder.main_linear_container != null && statusColor != -1 ){
holder.main_linear_container.setBackgroundColor(statusColor);

View File

@ -3,21 +3,21 @@
xmlns:app="http://schemas.android.com/apk/res-auto">
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
app:iconSpaceReserved="false"
android:defaultValue="?colorAccent"
android:defaultValue="-1"
android:key="theme_link_color"
android:summary="@string/link_color"
android:title="@string/link_color_title"/>
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
app:iconSpaceReserved="false"
android:defaultValue="?boostcolor"
android:defaultValue="-1"
android:key="theme_boost_header_color"
android:title="@string/boost_header_color_title"
android:summary="@string/boost_header_color"/>
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
app:iconSpaceReserved="false"
android:defaultValue="?backgroundColor"
android:defaultValue="-1"
android:key="theme_statuses_color"
android:title="@string/background_status_title"
android:summary="@string/background_status"/>
@ -25,7 +25,7 @@
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
app:iconSpaceReserved="false"
android:defaultValue="?iconcolor"
android:defaultValue="-1"
android:key="theme_icons_color"
android:title="@string/icons_color_title"
android:summary="@string/icons_color"/>