Comments (3)
You can customize all card styles.
So you can use a dark theme.
Can you try it?
from cardslib.
I'm using them of both themes, you only have to change the background of the card and the shadow if you have one
like this
MyCard.setBackgroundResourceId(R.drawable.dark_card_background);
and this is the xml
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/card_background_dark"/>
<corners android:radius="@dimen/card_background_default_radius"/>
and the color im using
<color name="card_background_dark">#1C1C1C</color>
from cardslib.
@AkshayChordiya Is the code above enough for your purpose?
from cardslib.
Related Issues (20)
- programmatically dismiss the card
- unable to sync library-cards\build.gradle
- java.lang.IndexOutOfBoundsException CardWithList inside of a CardListView
- setupInnerViewElements method doesn't call
- Dynamic TextView MaterialLargeImageCard
- List of CardWithList
- Remove bottom padding of CardView HOT 1
- get
- No Such Method Error
- Card Library Expand From Bottom to top
- CardArrayRecyclerViewAdapter is not accepting a CustomCard
- CardWithList List Height?
- toggle expand button programatically
- Library seems not to work with Android Studio 3 preview HOT 7
- Fullscreen card listview
- FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':library-core:processDebugResources'. > Unknown android attribute 'ForegroundLinearLayout' HOT 4
- Using android studio 3.1 no longer works cardslib. HOT 10
- Any recent forks? HOT 1
- My xml keeps showing card error
- Unknown android attribute 'ForegroundLinearLayout' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cardslib.