Giter Site home page Giter Site logo

Readme about sheets-compose-dialogs HOT 8 CLOSED

maxkeppeler avatar maxkeppeler commented on May 14, 2024
Readme

from sheets-compose-dialogs.

Comments (8)

maxkeppeler avatar maxkeppeler commented on May 14, 2024

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.

maxkeppeler avatar maxkeppeler commented on May 14, 2024

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.

javimar avatar javimar commented on May 14, 2024

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.

maxkeppeler avatar maxkeppeler commented on May 14, 2024

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.

javimar avatar javimar commented on May 14, 2024

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.

maxkeppeler avatar maxkeppeler commented on May 14, 2024

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.

javimar avatar javimar commented on May 14, 2024

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.

maxkeppeler avatar maxkeppeler commented on May 14, 2024

It should, could you create a separate issue for that?

from sheets-compose-dialogs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.