Comments (11)
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.
not supported yet. you can import the library source code, and customize your colors.
from sweet-alert-dialog.
can this be an enhancement ?
from sweet-alert-dialog.
yes, it's under consideration and plan to implement it in the future.
from sweet-alert-dialog.
is there anything changed about color change?
from sweet-alert-dialog.
@yildizerdi This has been implemented in the active project: https://github.com/limonte/sweetalert2
from sweet-alert-dialog.
@eterry1388 I've been asking for android.
from sweet-alert-dialog.
@eterry1388 is there any way to change the color of the button in android?
from sweet-alert-dialog.
Sorry, I thought I was responding on the original javascript sweetalert project. I have no idea about Android.
from sweet-alert-dialog.
Can we override the color value of this button background color in our color.xml?
from sweet-alert-dialog.
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)
- pivotX and pivotY conflict HOT 1
- Unknown animation name: cn.pedant.SweetAlert.Rotate3dAnimation error:null HOT 3
- Change button colour issue HOT 1
- java.lang.NoSuchFieldError: No static field custom_view_container of type I in class Lcn/pedant/SweetAlert/R$id; or its superclasses
- Possible to get user to input? HOT 1
- Next line HOT 3
- Unable to make setCancelable = false HOT 2
- java.lang.RuntimeException: Unknown animation name: cn.pedant.SweetAlert.Rotate3dAnimation error:null HOT 10
- Change TextColor HOT 3
- Proguard true HOT 2
- Button texts are getting cut HOT 3
- Button Text are getting cut. HOT 5
- Progress Dialog change HOT 1
- Progress dialog height problem HOT 1
- Feature request
- error
- wish to change buttons text size
- ProgressWheel dependency should be removed as it's outdated HOT 1
- Outside tap dismissed alert without selecting a button. HOT 1
- 按钮文本被切割问题处理[button text getting cut solution]
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 sweet-alert-dialog.