Questions tagged [android-cardview]

CardView is a widget used to show complex lists and cards in your app, it has material design style by default.

CardView is a widget used to show complex lists and cards in your app, it has material design style by default. CardView extends the FrameLayout class and lets you show information inside cards that have a consistent look on any app. CardView widgets can have shadows and rounded corners.

Useful links

2320 questions
0
votes
0 answers

How to create swipeable and clickable cards in android using cardView?

I tried using https://github.com/yuyakaido/CardStackView but could not modify it to create a click functionality. basically I want to use animate() when clicked on the card but not able to do so. Main activity-- public class MainActivity extends…
0
votes
4 answers

Smaller Space Between Card View in a List

I am trying to make the space between card view smaller in a list; currently, the spaces are too large. I've looked everywhere on SO but there doesn't seem to be a good solution so far. I cannot seem to figure out the correct layout to achieve…
rengineer
  • 349
  • 3
  • 19
0
votes
1 answer

ImageView expanding from corners with rounded cardview

I am trying to display an imageview inside an cardview with rounded corners by using Glide but the image is expanding the corners of cardview to a square shape while the same code is working fine for cardview v7 support library but not in androidx…
Cosmic Dev
  • 522
  • 6
  • 20
0
votes
1 answer

cardCornerRadius not working in androidx.cardview:cardview:1.0.0'

i am using cardview to creat meu in m first app and here i want rounded corner but not working with the following codes in androidx cardview ? i am new here also please guide if anything ! please advice ! Thanks
0
votes
2 answers

Grid Layout and CardView Not Showing up on old Android Device

I am looking for a solution. Grid Layout using cardView is showing up on latest device nicely, but the older devices like Lollipop and some other versions of Android device not showing up the the Grid Layout and CardView. please give me the…
0
votes
1 answer

How to tile single elements in recylerview when adding one at a time?

So this is probably a simple answer that I don't know the answer to. I have an add button above a recylerview. When add button is pressed it adds 1 Editview to the recyclerview and then gets focus on the editview so info can be added. This works…
0
votes
1 answer

Load Full Image Recyclerview Cardview

Thanks to @Mouaad Abdelghafour AITALI. I made it to get a new full image view. Unfortunately it is not showing the full image. Where could i be going wrong?. I have posted the Main Activity and FullImageViewer Java Code and the Xml for full Image.…
NyP
  • 499
  • 4
  • 18
0
votes
0 answers

Android CardView without top border

I'm wondering if it's possible to customize the aspect of a CardView in a way that it won't show any border line on top. I'd still like to keep the bottom border of the cardview, though. Is that possible? How could I achieve this?
Roberto Betancourt
  • 2,375
  • 3
  • 27
  • 35
0
votes
1 answer

Binary XML File Error Inflating RecyclerView

I keep getting this error: Binary XML file line #11: Error inflating class androidx.recyclerview.widget.RecyclerView I have gone through many responses on this website but I am yet to rectify this issue. I have added the new implementation amongst…
Shane
  • 49
  • 7
0
votes
1 answer

CardStackView.Rewind() is not functioning in Fragment

I am using this cardStackView to display some set of pictures to swipe(Left,Right,Top). onClick() of rewind button I am trying to rewind the previous card by calling this rewind() method below. which is working great!! public void rewind() { …
0
votes
0 answers

Andriod 9 patch Image is not displaying internal content

I have to create the custom card layout like this So for that, I used an android 9 patch image but the internal small circle is not visible in the phones but it is visible inside the android layout editor. Here is the image from the android Layout…
0
votes
1 answer

How do I go to the next tab onClick in a Recyclerview?

So basically I have two tabs in a ViewPager and TabLayout to store two fragments in a tab view. Thing is, I am using a card view in a recycler view and the card view has like a Like Button. Basically, when the user clicks the button, it should…
0
votes
0 answers

RecyclerView show no folding cells?

i used ramotion Folding cells on a normal layout it worked fine, but now i am trying to create a recycler view with ramotion FOLDING CELLS, but the recycler view show nothing at all, how to solve this problem and make the cards…
hewa jalal
  • 952
  • 11
  • 24
0
votes
1 answer

Frame rate issue with card views on Android app

I'm experiencing a huge frame rate / frame skip when scrolling through my card view. I read somewhere that it might be because i am loading images straight into the page rather than use Picasso but not sure if this would help. Wondering if anyone…
Greg
  • 476
  • 9
  • 23