Questions tagged [android-cards]
30 questions
1
vote
1 answer
Error inflating class it.gmariotti.cardslib.library.view.CardListView
I'm trying to follow this example cardslib example but I'm running into an exception which I don't see what I'm doing wrong.
Here's my code:
public class FragmentA extends Fragment{
@Override
public View onCreateView(LayoutInflater…

dazito
- 7,740
- 15
- 75
- 117
0
votes
1 answer
Mixing version can lead to run time crashes
There seems to be some problem in the Manifest file's second implementation line which is as (implementation 'com.android.support:cardview-v7:26.1.0'). I am creating a map based app there was no error in the whole project. But this line is showing…

Matt
- 464
- 4
- 13
0
votes
1 answer
Android: Add space between stack and current card in CardStackView
I'm using CardStackView in my app. I've edited the layout so I can get a full height card when a card is selected.

Motassem Jalal
- 1,254
- 1
- 22
- 46
0
votes
1 answer
Android watchface: how to know if a peek card is shown and to what height?
How does one call the information that a card is being displayed and to what height it is being displayed.
I'm working on a balanced ternary clock, and I'd like to resize the face depending on cards.
Edit: I found a solution.
// detect the height of…

kjl
- 311
- 3
- 13
0
votes
1 answer
Android RecyclerView Cards not showing`
I am new to Android. I have moved heaven and earth to get my app to show RecyclerView with Cards but am not able to,no matter what. Tried a lot of searching on Google and StackOverflow and also on a lot of recommended sites.
My code is as…

Jay Pagnis
- 920
- 1
- 11
- 16
0
votes
2 answers
How do I show a fragment in a card view - Android
I want to show a fragment in a card view of android . help required .
I have made some fragments already , say one of them is Settings_fragment.xml

Chetan Kaushik
- 58
- 1
- 7
0
votes
1 answer
Expand Google Cards
I want to implement something like this. On tapping on a card, it should expand to show more details. I don't want any code but just some guide on how to go about implementing it. The transition should be smooth as in Google apps.

div
- 1,475
- 3
- 22
- 32
0
votes
1 answer
Expand inside card in cardListView in android
I am using cardslib to show expandable list of cards in cardListview, so the problem is when I tap on card it expands always at the bottom of the card but I want the card should expand inside my custom card layout(as shown in…

Vivek Singh
- 1,201
- 3
- 17
- 39
0
votes
0 answers
Cardslib padding - native_list_card_layout
im not sure why the cards inside the grid i have always have that 1dp of padding. I cant find which attributes to remove it.
This is the grid code that i am using:

EggRollMan
- 583
- 1
- 8
- 20
0
votes
1 answer
Action bar, Navigation Drawer , Cards UI support from Android 2.2
i am developing a new application.My UI consists Cards , Action bar , Navigation Drawer. i have done this for Android 4.0 and above but now i need to support from Android 2.2 devices. Is it possible to support these functionality from android 2.2.…

krishnamn
- 151
- 3
- 11
0
votes
1 answer
Android Card UI : card resize (gabrielemariotti)
I'm making an android app with cards UI, by using the library: https://github.com/gabrielemariotti/cardslib
I want to make a custom card which will be smaller than the default card size. Is there any way to do this?

Priyan
- 1
- 2
0
votes
2 answers
Android CardsLib - NullPointerException OnLongCardClickListener in MultiChoiceMode
I'm using the Android CardsLib to generate a list of cards in my fragment. I've the list properly done, no problem here.
Now I'm following the tutorial (link to the tutorial) to add MultiChoiceMode to my list, this is selecting multiple cards using…

dazito
- 7,740
- 15
- 75
- 117
0
votes
0 answers
Card style for listview item with a footer on each item
I'm using the code from this tutorial to create a CardUI-like ListView item, but I need to add to my listview item a footer (just like Google+ app has in its stream view). I have not been able to create the footer (full width and 25dp height) and…

juliano.net
- 7,982
- 13
- 70
- 164
-1
votes
1 answer
Cardview wont turn invisible after set visible
I really didn't want to post it here because this problem sounds really stupid and is difficult to describe, but after hiting my head 2 hours for a stupid layout problem i decided to try
I've one activity with several layout components...
During on…

Rafael Lima
- 3,079
- 3
- 41
- 105
-1
votes
1 answer
Android translucent card/layout like timely app
I'm trying to copy this layout out of the beautiful Android Timely app
Specifically, the translucent box that has all the alarm info inside it. Not sure if it's a layout with a slightly different fill color than the background with the alpha value…

vkinra
- 943
- 1
- 9
- 16