Giter Site home page Giter Site logo

rayliverified / customalertviewdialogue Goto Github PK

View Code? Open in Web Editor NEW
118.0 6.0 25.0 17.57 MB

Custom AlertView Dialogue is the world's most advanced alert view library. Custom AlertView Dialogue includes simple message popups, confirmation alerts, selector popups, action sheet bottom menus, and input/feedback contact forms.

Home Page: http://rayliverified.com

License: BSD Zero Clause License

Java 100.00%
android alert alertview popup dialog selector confirmation bottom menu action

customalertviewdialogue's People

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

customalertviewdialogue's Issues

Further Enhancements

Hello,

I have two request. can you please add it in your library

  1. method to set transparent opacity of alertViewDialog.
  2. method to set EditText InputType property.

Thank you.

Input/Contact form hint not disappearing

Good day, Searchy, thanks for this awesome library, really made my project easy, but am having issues with the Input form, I implemented it as stated in the documentation, but I found out that the text is overlapping on the hint, hint is not disappearing rather it's overlapping. Any idea what can be done about this?

v2.6.0 error

Error:
Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:18:5-116:19 to override.

My Manifest,xml

v28/values-v28.xml not found

compileSdkVersion 27

error: resource android:attr/fontVariationSettings not found.
error: resource android:attr/dialogCornerRadius not found.
error: resource android:attr/ttcIndex not found.

Message{kind=ERROR, text=error: resource android:attr/dialogCornerRadius not found., sources=[/Users/jing/.gradle/caches/transforms-1/files-1.1/appcompat-1.0.0-rc01.aar/301e547d656966806ea0fc1ade335436/res/values-v28/values-v28.xml:9:5-12:13], original message=, tool name=Optional.of(AAPT)}

Dialog backgroud

Hi searchy i'd like to thank you for this nice work,
my problem is:
some time when the Simple alert and Confirmation alert dialog start, their backgrounds takes the bottom of the screen as background for short time, like you can see it in the picture
screenshot_20180424-001127

Not working with the latest dependency

The version of this project is somehow not working with the latest android support library.
It's throwing multiple merger errors.
Can you please have a look by creating a new project.
BTW, great work...

Default transition style

Hello again, and thank you again for nice work!
Is it possible to change default transition style ("slide in from bottom to top")?

Gradle building failed execution

Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.eightbitlab:blurview:1.5.0.
Searched in the following locations:
- https://jitpack.io/com/eightbitlab/blurview/1.5.0/blurview-1.5.0.pom
- https://dl.google.com/dl/android/maven2/com/eightbitlab/blurview/1.5.0/blurview-1.5.0.pom
- https://repo.maven.apache.org/maven2/com/eightbitlab/blurview/1.5.0/blurview-1.5.0.pom
Required by:
project :app > com.github.searchy2:CustomAlertViewDialogue:2.6.1

Hide CustomAlertDialog

Hello, thank you, you have a very cool library. I wanted to ask how can I programmatically hide the diolog. Are there methods similar to dialog.dismiss (), dialog.cancelable ()?

Crashed Hint Texts When Same Alert Is Reused

I build my ArrayList for the hints texts every time new. Also, the alert object itself is created new every time.

Showing up the alert for the first time, it works. Next time, it doesn't. Can you help?

ArrayList<String> lineHintEN = new ArrayList<>();
                lineHintEN.add("Prename");
                lineHintEN.add("Surname");
                lineHintEN.add("Email");
                lineHintEN.add("Birthday");

CustomAlertDialogue.Builder alert = new CustomAlertDialogue.Builder(SampleActivity.this)
                            .setStyle(CustomAlertDialogue.Style.INPUT)
                            .setTitle(title)
                            .setMessage(message)
                            .setPositiveText(positiveText)
                            .setPositiveColor(R.color.positive)
                            .setPositiveTypeface(Typeface.DEFAULT_BOLD)
                            .setOnInputClicked(new CustomAlertDialogue.OnInputClicked() {
                                @Override
                                public void OnClick(View view, Dialog dialog, ArrayList<String> inputList) {
                                    for (String input : inputList) {
                                        Log.i("Input", input);
                                    }
                                    dialog.dismiss();
                                }
                            })
                            .setNegativeText(negativeText)
                            .setNegativeColor(R.color.negative)
                            .setOnNegativeClicked(new CustomAlertDialogue.OnNegativeClicked() {
                                @Override
                                public void OnClick(View view, Dialog dialog) {
                                    dialog.dismiss();
                                }
                            })
                            .setLineInputHint(lineHintEN)
                            .setLineInputText(lineText)
                            .setBoxInputHint(boxHint)
                            .setDecorView(getWindow().getDecorView())
                            .build();
                    alert.show();

Longer text

Hi searchy !!! Very nice work from you.

I have one problem. I want to use a larger text with 3 -4 sentences. But if the dialog opens i cannot see the whole text and i have to scroll the text in a small window. This looks not very good.

I have tried to remove the android:maxlines="4" but this does not help or change anything.
Is there a way to make a larger text without scrollling ?

Frank

setDecorView(android.view.View)

Thank you for this awsome work. I had an issue with Cannot resolve method 'setDecorView(android.view.View)' in submit feedback style.
I use activities.
.setBoxInputHint(boxHint) .setBoxInputText(boxText) .setDecorView(getWindow().getDecorView()) .build();
I commented
.setDecorView(getWindow().getDecorView())

and the dialog color is becoming radial transparent, it doesn't look like your screenshots.
Please help

How to change ACTIONSHEET's backgroud color and text color?

Hi, i set a CustomAlertDialogue.Style.ACTIONSHEET, i want to change backgroud and items title color but i can't do it. ".setBackgroundColor(R.color.negative)" now working.

ArrayList<String> other = new ArrayList<String>();
                other.add("1199,99 TL / yıl");
                other.add("99,99 TL / yıl");

                final CustomAlertDialogue.Builder alert = new CustomAlertDialogue.Builder(getContext())
                        .setStyle(CustomAlertDialogue.Style.ACTIONSHEET)
                        .setTitle("Lütfen Bir Ödeme Planı seçin")
                        .setCancelText("Vazgeç")
                        .setBackgroundColor(R.color.colRed)
                        .setNegativeColor(R.color.colRed)
                        .setOnCancelClicked(new CustomAlertDialogue.OnCancelClicked() {
                            @Override
                            public void OnClick(View view, Dialog dialog) {
                                dialog.dismiss();
                            }
                        })
                        .setOthers(other)
                        .setOnItemClickListener(new AdapterView.OnItemClickListener() {
                            @Override
                            public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {
                                String selection = adapterView.getItemAtPosition(i).toString();
                                switch (selection)
                                {
                                    case "1199,99 TL / yıl":

                                        break;
                                    case "99,99 TL / yıl":

                                        break;
                                }
                            }
                        })
                        .setDecorView(getActivity().getWindow().getDecorView())
                        .build();
                alert.show();

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.