awesomedialog's People
Forkers
emineessid jiubadao naseemakhtar994 msoftware prolifixs eminsr imne filol mahmoudashrafmohamed jdmbotero whanjiang safakge rakezbohara balao7 afrussel re-life saeed137796 thierrysup emeraldsoff younes-charfaoui noobthinker deepakkumardk justinzelus santouren bhautik07 akhileshsharma safedrivepod ajrobseyer cloudeddragon carythh the2987 sabai3d ansonlo ladroshanawesomedialog's Issues
Custom Layout for dialog body
I'm thinking if there could be a way for users to use a custom layout for the dialog body. I'm almost done implementing this feature in my fork and will submit a pull request if anyone is interested.
setButtonBackgroundColor seems to do nothing
Method setButtonBackgroundColor just do nothing, the button color is always set to colorPrimary.
Could it be that, when importing the dependency I was getting gradle errors conflicting with appcompat, solved by enabling android.enableJetifier in gradle.properties ?
setNegativeButtonText
Can i get text in lowercase in Awesome Dialog box LIKE i get "YES" button in "Yes" this type text . Can u help for this issue ?
Lib not found
gradle error: Failed to resolve: com.github.blennerSilva:AwesomeDialog:2.0.5
[BUG] [CRASH] ContextCompat must be dropped in the entire project
You don't have to use ContextCompat there if you are compiling with an API level greater than 24 as this is only a compatibility feature for early versions. You can also still use Context.getColor() But notice the method signature! If you just want a color in the default theme you only have to provide the int value of its reference: http://developer.android.com/reference/android/content/Context.html#getColor(int)
You are currently trying to access getColor() with two parameters (Color and Theme) which cannot work there as there is no method who supports these parameters. If you remove the 2nd parameter your current solution will work. But it would be more convenient to use Context or Resources directly and drop the v4 Appcompat reference if you don't need it.
Resources not found Android 6.0
at com.AwesomeDialog.blennersilva.awesomedialoglibrary.AwesomedialogBuilder.drawableColorChange(AwesomeDialogBuilder:153)
The alert is not shown compiling for sdk 31
When compilesdkversion is 31 i get the following error:
[AwSDialog:showAlert]: Erro ao exibir alert
ERROR: Failed to resolve: com.github.blennerSilva:AwesomeDialog:2.0.5
I'm using latest android studio and facing this issue,,, any idea how to fix it?
Style Error
when i run app the width of ColoredCircle will be full screen and style of dialog will be broken!
how can fix this issues?
how do you get the value of 150dp
in the dialog_info.xml. how do you get the value of 150dp?
Get strings from resources
You have the context for all dialogs set in constructor.
when set all strings set a method to give direct R.string.id to the method in order not to get the string outside the dialog and call the methods with string.
Good:
setTitle
setMessage
Bad:
setButtonText - does take only string, but you have the context in the dialog constructor, and you get the string from there
Deprecated readme
compile - gradle is deprecated, change it to implementation
ERROR: Failed to resolve: com.github.blennerSilva:AwesomeDialog:2.0.5
I got this error while sync the project "ERROR: Failed to resolve: com.github.blennerSilva:AwesomeDialog:2.0.5"and i have already add "maven { url "https://jitpack.io" }" in my gradle-project am using android 3.3.1
How to check dialog is open or not?
I want to check if dialog is already open or not.
EditText in Dialog
Hi,
I think it would be great if we can add EditText to the dialog.
Also, in Wiki Warning Dialog has Notice circle color, icon and button bg color.
license ?
is there any license that i can use within yout project..?
Custom Typeface?
Dialog is very cool, but i can't find a way to customize Typeface.
Is possible? You can add a feature to customize all dialog typeface(title, message,buttons, ecc.)
Anyway, very good work!
Change text color of title and body not possible
Change text color of title and body not possible
[CRITICAL] Bottom button not visible, dialog cannot be closed
Crash Issue on Android 4.4.2
Hey, i got an issue when using AwesomeDialog library, when i run the application in Android 4.4.2, the application is crashed
Here's the stack trace i got
Caused by org.xmlpull.v1.XmlPullParserException: Binary XML file line #2: invalid drawable tag vector
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:933)
at android.graphics.drawable.Drawable.createFromXml(Drawable.java:877)
at android.content.res.Resources.loadDrawable(Resources.java:2285)
at android.content.res.Resources.getDrawable(Resources.java:753)
at com.awesomedialog.blennersilva.awesomedialoglibrary.AwesomeDialogBuilder.getLayout(AwesomeDialogBuilder.java:155)
at com.awesomedialog.blennersilva.awesomedialoglibrary.AwesomeDialogBuilder.getLayout(AwesomeDialogBuilder.java:98)
Fatal Exception: android.content.res.Resources$NotFoundException: File res/drawable/ic_ask.xml from drawable resource ID #0x7f0700a5. If the resource you are trying to use is a vector resource, you may be referencing it in an unsupported way. See AppCompatDelegate.setCompatVectorFromResourcesEnabled() for more info.
at android.content.res.Resources.loadDrawable(Resources.java:2289)
at android.content.res.Resources.getDrawable(Resources.java:753)
at com.awesomedialog.blennersilva.awesomedialoglibrary.AwesomeDialogBuilder.getLayout(AwesomeDialogBuilder.java:155)
at com.awesomedialog.blennersilva.awesomedialoglibrary.AwesomeDialogBuilder.getLayout(AwesomeDialogBuilder.java:98)
How to close dialog ?
Not able to add this dependency in my gradle.
Hi, my android studio version is 3.0.1 and it showing me this message
Failed to resolve: com.github.blennerSilva:AwesomeDialog:2.0.5
Crashes everywhere on android 8+ because of setcolorfilter deprecation
dialogBody.background.setColorFilter(ContextCompat.getColor(context!!, color), PorterDuff.Mode.SRC_IN)
- deprecated
use:
dialogBody.background.colorFilter = BlendModeColorFilterCompat.createBlendModeColorFilterCompat(color, BlendModeCompat.SRC_IN)
Also @ColorRes should be marked as function parameter
Any alternative solution to close Dialog ?
Can do action when the popup dismiss (backPressed) ?
Hello,
For example i use this with camera qrcode scanner Zbar and when I press back button I must reactivate the scanner.
It works with the action of button OK i can add line to reactivate but when I can do the line when I click back to my phone when dialog is open ?
Thanks
custom image
Hi,
can i add custom image in setDialogIconAndColor() ?
If i try to add a custom image, the image not view.
thanks.
UI bug when used with RTL
Crash
Icon via Drawable programmatically
Why isn't there a way to set the icon via a drawable that is dynamically created instead of a resource?
Fatal Exception
Fatal Exception: android.content.res.Resources$NotFoundException
Resource ID #0x7f060090
android.content.res.ResourcesImpl.getValueForDensity (ResourcesImpl.java:229)
android.content.Context.getDrawable (Context.java:605)
com.awesomedialog.blennersilva.awesomedialoglibrary.AwesomeDialogBuilder$Companion.drawableColorChange (AwesomeDialogBuilder.kt:150)
AndroidX
Please migrate do AndroidX, that gradle import causes some imports if not migrated to AndroidX
[Feature] Adding support for inserting custom views
.
Neutral Button
Hi,
Can you add a neutral button for AwesomeInfoDialog?
good work ! ;)
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.