folding cell in CardView with elevation and radius corner
See original GitHub issueHi, I have a RecyclerView
in my activity. I used folding-cell
library to expand each CardView
. but because my CardView
has elevation
and cardCornerRadius
it gets ugly. because when it wants to unfold list_item_feed_expand
first it doesn’t have radius corner and shadow and when animation get completed it gets shadow and corner. it is the same for folding. it first removes radius corner and shadow and then it fold it
can you tell me how to correct this? is there anyway to solve it?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:7
Top Results From Across the Web
CardView Corner Radius - android - Stack Overflow
Always put your content in your Inner CardView . Your outer CardView serves only the purpose of "hiding" the bottom Rounded Corners of...
Read more >cardview corner radius only top - You.com | The Search Engine You ...
This way, the bottom corner radius of your inner CardView will be hidden. ... Ramotion/folding-cell-androidfolding cell in CardView with elevation and ...
Read more >Implementing a Collapsible View Using a Card View in Android
The card's elevation gives a 3-dimensional look to your mobile app ... the CardView a horizontal Margin of 16dp, and a corner radius...
Read more >Curved Corners with CardView - YouTube
Boxy Relative Layouts tend to get a little plain and boring when containing other views. With the CardView, you can specify a corner...
Read more >Implementing Material Design in Your Android app
CardView extends FrameLayout and provides default elevation and corner radius for you so that cards have a consistent appearance across the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I have tried to put it into a cardView too, but it is ugly. Most of all, the flip effect is not as beautiful (flipping edges are lost in cardView width). No tweaking helped. Not even adding a rounded background scheme to the FoldingCell, as this also affected the flip animation.
It would be awesome to add cardView “support” by permitting proper elevation and rounded corners 😉
PS: Thanks for this awesome library!
Thanks for the support!