Questions tagged [cardslib]

cardslib is a Library that provides an easy way to display a UI Card in Android apps. Display single cards, list of cards and grid or staggered grid of Cards.

cardslib is a Library that provides an easy way to display a UI Card in Android apps. Display single cards, list of cards and grid or staggered grid of Cards.

Card Library provides 5 custom tags:

  • CardView to display a UI Card.
  • CardListView to display a List Card.
  • CardGridView to display a Grid Card.
  • StaggeredGridView to display a Staggered Grid Card.
  • CardListDragDropView to display a List Card with drag and drop support.

It requires API 14+

Links:

86 questions
0
votes
0 answers

Changing cardheader title color dynamically in a Cardslib Cardlist

I create a list of cards with the cardLib library with the CardListView. I get the text for the cards from different arraylists, my problem is want to change the color of the actual top header title of the card, not just the inner title. I have only…
OJunker
  • 62
  • 8
0
votes
2 answers

Fragment with cardslib to fill the whole screen

I tried making an app using this tutorial (example 2). I created a navigation drawer activity. My main fragment xml (added card):
Marshall
  • 1,353
  • 3
  • 17
  • 38
0
votes
2 answers

How to dynamically add cardslib CardListView title text with the data retrieved from parse.com database?

I have a simple ParseQuery which retrieves a single object of a class 'PrivateData'. ParseQuery query = ParseQuery.getQuery(PrivateData.class); query.whereEqualTo("user", ParseUser.getCurrentUser()); This code can then be used to…
0
votes
0 answers

cardslib custom card with a custom header properties

I am going to create a custom card which has a changed font and right to left text .I tried to write a custom card class like this package com.peomtime.tosca.peomtime.Databse; import android.content.Context; import android.view.View; import…
Majid Hojati
  • 1,740
  • 4
  • 29
  • 61
0
votes
1 answer

CardsLib Single MaterialDesignCard, Connect model to view

I will be using a library for my android fragment. I chose cardslib as it offers a lot of features. Now, I am trying to create a single MaterialLargeImageCard for the fragment. inside my fragment xml I added the layout for the card. I am utilizing…
Emil Reña Enriquez
  • 2,929
  • 1
  • 29
  • 32
0
votes
1 answer

Generate cards with cardslib and load images with picasso

I am using cardslib (https://github.com/gabrielemariotti/cardslib) to create a project with cards and use picasso (http://square.github.io/picasso/), in order to dynamically create cards and load pictures into them with urls that I retrieve from…
vaik
  • 19
  • 2
0
votes
1 answer

How to make Cardlibs CardView look exactly like Android Support CardView

I am using the it.gmariotti.cardslib.library.view.CardListView for it's adapter and control over the list of cards. it.gmariotti.cardslib.library.view.CardView looks terrible and adds padding and margin in places that are very annoying. How do I…
Michael
  • 9,639
  • 3
  • 64
  • 69
0
votes
0 answers

Android: CardsLib Card not displaying title

I'm using Mariotti's CardsLib to create a list with Cards. I create cards (in a for loop) as shown below: CustomCard aCard = new CustomCard(getActivity().getApplicationContext()); CardHeader aHeader = new…
0
votes
1 answer

Sending HTTP Request to get photo in cardslib

I'm trying to get photos from secure domain. In order to be able to get the photo, I've to send HTTP request - or send Cookie - to get the photo. This code is not working, as it sends normal request. CardThumbnail thumb = new…
Arab Agile
  • 93
  • 5
0
votes
1 answer

Using demo cards from cardslib

I've been trying to use the cardslib lirary in a project I'm working on. I've successfully compiled and ran apps using the native cards. I'm interested in using google birthday cards in my project. But being a novice android developer as I am, I…
Shashwat Black
  • 992
  • 5
  • 13
  • 24
0
votes
2 answers

Plugin with id 'android-sdk-manager' not found

i want to add https://github.com/gabrielemariotti/cardslib but android studio give me this error : Error:(9, 0) Cause: cannot get property 'compileSdkVersion' on extra properties extension as it does not exist
abbasalim
  • 3,118
  • 2
  • 23
  • 45
0
votes
2 answers

how to add onClickListener to buttons inside CardLayout

I am using Gabrielemariotti's Cardslib library to implement card layout in my android application. I am using a custom layout for my cards. Below is the code for creating custom cards: Card card = new Card(getActivity().getApplicationContext(),…
Rajan M
  • 5
  • 2
0
votes
1 answer

How to add new card dynamically to cardslib listview?

I have this cardlibs listview in a fragment. I have some dynamic data coming in through the main activity. When I first call the fragment with the listview, to populate a card, everything is cool. It' shows. I have the function set to check if the…
sirvon
  • 2,547
  • 1
  • 31
  • 55
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?
0
votes
1 answer

Using libraries in an android project

I have found a library that I'd like to use for my android app. On the github page of the project, there is a tutorial on how to add the library to your own app so that you can use it, but I have problems following it:…
Martin
  • 453
  • 3
  • 5
  • 14