Closed Rainer-Lang closed 9 years ago
Could you show more of your code about the problem?
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:fab="http://schemas.android.com/apk/res-auto"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:background="@color/grey_dedede">
<com.marshalchen.ultimaterecyclerview.UltimateRecyclerView
android:id="@+id/rvCardRecyclerView"
android:layout_height="match_parent"
android:layout_width="match_parent"
app:recyclerviewClipToPadding="true"
app:recyclerviewPadding="2dp"
app:recyclerviewEmptyView="@layout/empty_view">
</com.marshalchen.ultimaterecyclerview.UltimateRecyclerView>
...
Do you need anything else?
It's a good idea to show more of your code especially the code about adapter. I do not know how you use the CardView.
Nothing special. I switched from normal RecyclerView with CardView (all was working!) to UltimateRecyclerView. And then my background color was gone...
fixed - thanks.
@Rainer-Lang Hi, How did you fixed ?
@CodingHornet I sitched to the really awesome FastAdapter of @mikepenz Have a look. @mikepenz has great other libs too, like MaterialDrawer or AboutLibraries or Android-Iconics ....
I'm using this lib with CardView - and I can't set the background color of the view. Not the background of the cards!