Giter Site home page Giter Site logo

Change button color about sweet-alert-dialog HOT 11 CLOSED

pedant avatar pedant commented on June 28, 2024
Change button color

from sweet-alert-dialog.

Comments (11)

rahimlis avatar rahimlis commented on June 28, 2024 3

overwrite following values in color.xml

<color name="blue_btn_bg_color">#1976D2</color>
<color name="blue_btn_bg_pressed_color">#1565C0</color>

from sweet-alert-dialog.

pedant avatar pedant commented on June 28, 2024

not supported yet. you can import the library source code, and customize your colors.

from sweet-alert-dialog.

vedhavyas avatar vedhavyas commented on June 28, 2024

can this be an enhancement ?

from sweet-alert-dialog.

pedant avatar pedant commented on June 28, 2024

yes, it's under consideration and plan to implement it in the future.

from sweet-alert-dialog.

yildizerdi avatar yildizerdi commented on June 28, 2024

is there anything changed about color change?

from sweet-alert-dialog.

eterry1388 avatar eterry1388 commented on June 28, 2024

@yildizerdi This has been implemented in the active project: https://github.com/limonte/sweetalert2

from sweet-alert-dialog.

yildizerdi avatar yildizerdi commented on June 28, 2024

@eterry1388 I've been asking for android.

from sweet-alert-dialog.

dianacpac avatar dianacpac commented on June 28, 2024

@eterry1388 is there any way to change the color of the button in android?

from sweet-alert-dialog.

eterry1388 avatar eterry1388 commented on June 28, 2024

Sorry, I thought I was responding on the original javascript sweetalert project. I have no idea about Android.

from sweet-alert-dialog.

jainshravan123 avatar jainshravan123 commented on June 28, 2024

Can we override the color value of this button background color in our color.xml?

from sweet-alert-dialog.

dhussaindhl avatar dhussaindhl commented on June 28, 2024

Open the library layout fil in resources and you can change the color of title buttons and content

from sweet-alert-dialog.

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.