eltos / SimpleDialogFragments

An Android library to create dialogs with ease and handle user interaction reliably, using fragments and material design.
Apache License 2.0
119 stars 17 forks source link

SimpleFormDialog - vertical distanse between views. #83

Closed isabsent closed 2 years ago

isabsent commented 2 years ago

This code for the library version 3.5:

    SimpleFormDialog.build()
            .msg(R.string.dialog_message_new_server)
            .neg()
            .fields(
                    Check.box(SERVER_SSL).label(R.string.ssl).required().check(true),
                    Input.name(SERVER_ADDRESS).label(R.string.server_address).required().hint(R.string.pref_default_server_address).inputType(InputType.TYPE_CLASS_TEXT),
                    Input.name(SERVER_PORT).label(R.string.port).required().hint(R.string.pref_default_server_port).inputType(InputType.TYPE_CLASS_NUMBER)
            )
            .show(this, NEW_SERVER_DIALOG);

gives this view instead of your nice picture What is a reason!?

eltos commented 2 years ago

Please update to the latest version and read the wiki page on dialog styles: https://github.com/eltos/SimpleDialogFragments/wiki/Styles

isabsent commented 2 years ago

Thanks!