question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

folding cell in CardView with elevation and radius corner

See original GitHub issue

Hi, 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:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:7

github_iconTop GitHub Comments

2reactions
byvlstrcommented, Mar 1, 2017

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!

0reactions
s-ilnarcommented, Nov 7, 2019

Thanks for the support!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found