Comments (9)
Awesome. I'll close the issue for now. Let me know if you have more questions. : )
from material-components-android.
from material-components-android.
I think you need to move <item name="android:background">?attr/colorA</item>
from materialRangeDatePicker
to myMaterialCalendar
instead. The theme settings will be applied to all views which may cause the problem I think.
Let me know if this solves your issue.
from material-components-android.
@drchen With that change the header and background color are separated which is great but now it doesn't apply the color that I'm setting for the background (which is bright blue color) but instead, it applies some other black color. And also now my background color is transparent. Do you have any idea what might cause this?
from material-components-android.
Hmm... I'm not entirely sure. Are you overriding ?attr/colorSurface anywhere?
from material-components-android.
@drchen No I'm not in the styles about the material date range picker, but I have it in some other styles in the project
from material-components-android.
That's very weird. Can you let me know what colorA and colorB is?
from material-components-android.
@drchen colorA is : #343434;
colorB is: #484848
from material-components-android.
@drchen Okay so I set the surfaceColor instead of background color in materialRangeDatePicker and it seems to be working now, the color is a little bit lighter but I will check what might cause that
from material-components-android.
Related Issues (20)
- [CircularProgressIndicator]: The indeterminate indicator is visible but doesn't spin when it's inside a Dialog.
- [UncontainedCarouselStrategy] constructor is annotated with @RestrictTo(Scope.LIBRARY_GROUP) HOT 1
- DrawerLayout does not always visually update enabled status of items beginning with 1.12.0. HOT 1
- Menu item shows as disabled even though it is enabled... HOT 1
- [TabLayout] Component and App Theme has been set with Theme.MaterialComponents but still throw error HOT 2
- [Standard bottom sheet] Views hidden behind the bottom sheet respond to touch events.
- [MaterialButtonToggleGroup] Updating corner radius programatically
- [TimePicker] a more functional digital input design
- [CenterAlignedTopAppBar] Unintended scrolling of `CenterAlignedTopAppBar` with `enterAlwaysScrollBehavior` when content does not exceed screen height
- gradle issues
- [ExtendedFloatingActionButton] Shrink and Expand animations whilst scrolling loose the position of the component HOT 3
- [BottomSheet] Incorrect position when bottom sheet's default layout position is not at the top of parent
- A Question About Using a "Built with Material" Statement
- [TextInputLayout] prefix is overlap with text
- [MaterialButtonToggleGroup] No check icon displayed to indicate selected state
- MaterialDatePicker with KotlinX DateTime HOT 1
- [TextInputLayout] when edittext height too small,i cant change height
- [Slider] Stop indicators don't fulfil their purpose when the slider has too many acceptable values
- [BottomNavigationView ] InflateException when using Widget.Material3.BottomNavigationView style HOT 1
- [RangeSlider] Tooltip Stroke visible for two values
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 material-components-android.