codigami / cfalertdialog Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Info | Value |
---|---|
Platform Name | Android |
Platform Version | 7.0 |
CFAlertDialog Version | 1.2.0 |
Integration Method | gradle |
Xcode Version | 3.0 |
Repro rate | 100% |
Repro with our demo prj | Yes |
Demo project link | n/a |
Buttons can't be placed next to each other. When I have two buttons and I align one to START and one to END they appear at the START and END position but below each other. When I give both buttons position END they are both at END but also below each other. Is it possible to put the buttons on the same line?
Info | Value |
---|---|
Platform Name | e.g. Android |
Platform Version | e.g. 6.0 |
CFAlertDialog Version | e.g. 2.1.1 |
Integration Method | e.g. gradle / manually |
Xcode Version | e.g. Android Studio 2.3 |
Repro rate | e.g. all the time (100%) / sometimes x% / only once |
Repro with our demo prj | e.g. does it happen with our demo project? |
Demo project link | e.g. link to a demo project that highlights the issue |
This is just a feature request, for an edit text component with a callback response for the text entered. Like prompt dialogs
Info | Value |
---|---|
Platform Name | e.g. Android |
Platform Version | e.g. 6.0 |
CFAlertDialog Version | e.g. 2.1.1 |
Integration Method | e.g. gradle / manually |
how to implement adding Edittext and retrieve data to activity.
My app is fullscreen activity.
when I show the alert dialog it displays status bar. after alert dialog goes away status bar is gone.
how can I prevent showing status bar?
on create method:
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
Also I set the values in my style:
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowContentOverlay">@null</item>
Could you add a onPresented
callback ?
I could use that to deffer heavy action after presentation and not to have hickups during animations.
thanks
When using a header, I'm getting this crash. I'm running Android 12. The dialog opens fine once, but once dismissed and opened again, it crashes with this:
java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:6084)
at android.view.ViewGroup.addView(ViewGroup.java:5903)
at android.view.ViewGroup.addView(ViewGroup.java:5860)
at com.crowdfire.cfalertdialog.CFAlertDialog.setHeaderView(CFAlertDialog.java:436)
at com.crowdfire.cfalertdialog.CFAlertDialog.populateCardView(CFAlertDialog.java:232)
at com.crowdfire.cfalertdialog.CFAlertDialog.createCardView(CFAlertDialog.java:162)
at com.crowdfire.cfalertdialog.CFAlertDialog.setupSubviews(CFAlertDialog.java:126)
at com.crowdfire.cfalertdialog.CFAlertDialog.onCreate(CFAlertDialog.java:109)
at android.app.Dialog.dispatchOnCreate(Dialog.java:810)
at android.app.Dialog.show(Dialog.java:453)
at com.crowdfire.cfalertdialog.CFAlertDialog.show(CFAlertDialog.java:274)
at com.crowdfire.cfalertdialog.CFAlertDialog$Builder.show(CFAlertDialog.java:1079)
how to change font of text and set RTL for farsi/arabic language ?
As android has moved on to AndroidX. Old libraries that do not support AndroidX require an extra step during compilation - Jetifier.
Jetifier tool migrates support-library-dependent libraries to rely on the equivalent AndroidX packages instead. The tool lets you migrate an individual library directly, instead of using the Android gradle plugin bundled with Android Studio.
Jetifier takes extra time during compilation. Making it slow.
Most of the libraries have already moved on to AndroidX. But I can't remove Jetifier until and unless all libraries in my project have support for AndroidX.
When can we expect AndroidX support?
Info | Value |
---|---|
Platform Name | e.g. Android |
Platform Version | e.g. 6.0 |
CFAlertDialog Version | e.g. 2.1.1 |
Integration Method | e.g. gradle / manually |
Xcode Version | e.g. Android Studio 2.3 |
Repro rate | e.g. all the time (100%) / sometimes x% / only once |
Repro with our demo prj | e.g. does it happen with our demo project? |
Demo project link | e.g. link to a demo project that highlights the issue |
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
Info | Value |
---|---|
Platform Name | e.g. Android |
Platform Version | e.g. 4.4 |
CFAlertDialog Version | e.g. 2.1.1 |
Integration Method | e.g. gradle / manually |
Xcode Version | e.g. Android Studio 3.2 |
As this library uses the old CardView instead of the new MaterialCardView. We have a duplication of classes increasing app size unnecessarily.
More info here https://stackoverflow.com/a/55700587/2793036
Old
implementation 'androidx.cardview:cardview:1.0.0'
New
implementation 'com.google.android.material:material:1.0.0'
Info | Value |
---|---|
Platform Name Android | e.g. Android |
Platform Version 8.0 | e.g. 8.0 |
CFAlertDialog Version 1.3.0 | e.g. 2.1.1 |
Integration Method gradle | e.g. gradle / manually |
Xcode Version Android Studio 3.4 | e.g. Android Studio 2.3 |
Hi,
Is there any ways for me to adjust the dialog's width? Because it looks small on the big tablet like Samsung Galaxy Tab A 10.5".
Thank you in advance!
hi
how use html text in setMessage?
tnx
Hi
Can a fragment be replaced by another fragment in custom view
Like TabLayout?
or
custom view define TabLayout like this repository
https://github.com/ashishbhandari/AndroidTabbedDialog
I can't place several buttons in one row. How can I do that?
Can i change the font-family of the dialog elements?
How do i set the notification to slide down from app bar layout? Thanks in advance
Info | Value |
---|---|
Platform Name | Android |
Platform Version | 9.0 |
CFAlertDialog Version | 1.1.0 |
Integration Method | gradle |
IDE Version | Android Studio 3.3 |
Repro rate | all the time (100%) |
Repro with our demo prj | does it happen with our demo project? - YES |
Demo project link | link to a demo project that highlights the issue |
Hi, great library. Could someone please tell me how do I get rid of the statusbar color getting override? Stock alertDialog doesn't touch or do anything to it which gives a seamless feel but this library makes it light gray which looks bad, especially since my app uses AMOLED dark UI.
Couldn't find the option so opening an issue. Thank you.
CFAlertActionStyle.POSITIVE for Android has value 1
CFAlertActionStyle.Cancel for IOS has value 1
so if you using this with nativescript and has one script for IOS and Android,you take runtime assert error .
It will be nice to have the same values for same meaning...
Info | Value |
---|---|
Platform Name | e.g. Android |
Platform Version | e.g. 6.0 |
CFAlertDialog Version | e.g. 2.1.1 |
Integration Method | e.g. gradle / manually |
Xcode Version | e.g. Android Studio 2.3 |
Repro rate | e.g. all the time (100%) / sometimes x% / only once |
Repro with our demo prj | e.g. does it happen with our demo project? |
Demo project link | e.g. link to a demo project that highlights the issue |
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
Hi,
When I show the alert dialog in landscape mode (app works in just landscape mode for tablets), it is shown in small size on the left side. its not centered.
tablet: Sony Experia Tablet S 1280x800
How can I center the CFAlertDialog in landscape mode?
This is what I can see in the logs when the app crashes --
2018-12-02 17:40:38.969 30579-30579/com.example.app W/View: requestLayout() improperly called by android.widget.FrameLayout{c0d8a68 VFE...C.. ......ID 0,0-168,168 #7f080036 app:id/button} during layout: running second layout pass
Info | Value |
---|---|
Platform Name | e.g. Android |
Platform Version | e.g. 6.0 |
CFAlertDialog Version | e.g. 2.1.1 |
Integration Method | e.g. gradle / manually |
Xcode Version | e.g. Android Studio 2.3 |
Repro rate | e.g. all the time (100%) / sometimes x% / only once |
Repro with our demo prj | e.g. does it happen with our demo project? |
Demo project link | e.g. link to a demo project that highlights the issue |
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
error when trying to compile
properties.load(project.rootProject.file('bintray.properties').newDataInputStream())
does not exist
changing back to
properties.load(project.rootProject.file('local.properties').newDataInputStream())
compiles
any clue why this is happenning?
Info | Value |
---|---|
Platform Name | e.g. Android |
Platform Version | e.g. 6.0 |
CFAlertDialog Version | e.g. 2.1.1 |
Integration Method | e.g. gradle / manually |
Xcode Version | e.g. Android Studio 2.3 |
Repro rate | e.g. all the time (100%) / sometimes x% / only once |
Repro with our demo prj | e.g. does it happen with our demo project? |
Demo project link | e.g. link to a demo project that highlights the issue |
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
NEVERMIND!
also I'm not able to include the dependency through the maven url provided.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.