Comments (8)
They are GIFs. I already reduced their quality before. I noticed the colors change if I reduce the quality even further. I check what I can do.
from sheets-compose-dialogs.
After some more releases and improvements I will screenshot all the views as views, dialogs, bottom sheets and popups and present them. It's just so much work to do that. I will use optimized images instead of gifs.
from sheets-compose-dialogs.
Hi, is there doc for customizing, DateTimeDialog (colors, etc). Also, for this component, I have not seen the way to given a date already input, open the view with that date already.
Thanks!
from sheets-compose-dialogs.
Hi Javimar, there's no direct color customization, but you can just wrap it into your own MD3 theme to change colors. With the latest update (1.1.1), there's a default selection of date / time and both for the DateTimeDialog.
from sheets-compose-dialogs.
Thanks Max.. can you please provide a quick example to change colors for DateTimeDialog using that approach? I already have a MaterialTheme design, but for instance, I would like to change the background color of the dialog itself.
from sheets-compose-dialogs.
The background color (of Surface()) is references to MaterialTheme.colorScheme.surface
.
So you would need to override that surface
color in your theme.
darkColorScheme(
surface = ...
}
lightColorScheme(
surface = ...
}
from sheets-compose-dialogs.
Thanks for the tips.
One more thing on the Locale. I am adding this, but the month, day, and year appear in English. Mine should be in Spanish. Is there a way to change the language of the dialog?
config = DateTimeConfig(
locale = Locale.getDefault(),
minYear = 1935,
maxYear = LocalDate.now().year
),
from sheets-compose-dialogs.
It should, could you create a separate issue for that?
from sheets-compose-dialogs.
Related Issues (20)
- [Feature] Add enabled state to dialog buttons HOT 2
- [API] 1.1.1 Introduces significant breaking changes without deprecation warnings HOT 1
- [API] DEFAULT_RANGE is internal and cannot be used when creating composable functions HOT 4
- [Feature request] Allow submitting a Duration of zero when using DurationDialog HOT 3
- Prevent user from picking Future Dates with disabledDates CalendarConfig parameter HOT 2
- [Question] How can we make the start of the day in month selection as Sunday instead of Monday? HOT 1
- [Feature] Provide withButtonView across all views/dialogs HOT 5
- [Crash] DateTime dialog adds an extra month and day to the initial value HOT 6
- [Feature] Datetime selection dialog is confusing to users HOT 2
- How to change color text and button in ClockDialog? HOT 1
- Allow OptionSheet icons to be in colour HOT 6
- (DateTime) "getLocalizedPattern" is incorrect for Chinese locale HOT 1
- How do I change the text used in calendar HOT 8
- [Feature] Provide Bottom Sheets HOT 2
- [Question] Min version SDK. HOT 5
- [Question] Is it possible to setup a listener for date changes? HOT 3
- How to set color of dialog(dark mode)? HOT 1
- [Feature] Allow setting minimum and maximum date/times for DateTimeDialog HOT 3
- [Bug] Settings "12:00 AM" on the time picker resets the time to 12:00 PM instead HOT 8
- How can I get the selection value of AM or PM to put it in a string? 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 sheets-compose-dialogs.