Giter VIP home page Giter VIP logo

cfalertdialog's People

Contributors

neha-gehani avatar rahul-s avatar rishabh876 avatar vipinagrahari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cfalertdialog's Issues

Adjustable dialog's width

New Issue Checklist

Issue Info

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

Issue Description and Steps

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!

image

Crash when using a header

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)

Prevent StatusBar from showing when using CFAlertDialog

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>

Dialog fragment

New Issue Checklist

Issue Info

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

Issue Description and Steps

Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

Landscape mode

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?

prompt dialog - feature request

New Issue Checklist

Issue Info

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

Issue Description and Steps

This is just a feature request, for an edit text component with a callback response for the text entered. Like prompt dialogs

lambda operator not supported in java 8

New Issue Checklist

Issue Info

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

Issue Description and Steps

Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

bintray propertie error when importing

New Issue Checklist

Issue Info

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

Issue Description and Steps

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?

Action buttons on same line

New Issue Checklist

Issue Info

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

Issue Description and Steps

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?

[FR] alertPresented callback

Could you add a onPresented callback ?

I could use that to deffer heavy action after presentation and not to have hickups during animations.

thanks

how to implement adding Edittext

New Issue Checklist

Issue Info

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

Issue Description and Steps

how to implement adding Edittext and retrieve data to activity.

When can we expect support for AndroidX

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?

font-family

Can i change the font-family of the dialog elements?

how to change font for message and text of btn??

New Issue Checklist

Issue Info

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

Issue Description and Steps

Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

App Crashes when adding editText.

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

Getting rid of statusbar color override?

New Issue Checklist

Issue Info

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

Issue Description and Steps

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.

not full screen in android R

Platform Name Android
Platform Version R
CFAlertDialog Version 1.3.1
Integration Method |gradle
Xcode Version | Android Studio 3.5.5
Repro rate all the time (100%)

The background doesn't fill the whole screen
image

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.