Skip to content

Files

Latest commit

f670529 · Feb 6, 2018

History

History
34 lines (23 loc) · 1.33 KB

CUSTOM.md

File metadata and controls

34 lines (23 loc) · 1.33 KB

Fusion

Fusion By BlackBeared License: GPL v3

An Easy-to-use Kotlin based Customizable Library with Material Layouts by @blackbeared.

Custom Shared dialog with two different views.

Fusion

Sample Usage

Shared dialog provides a facility to add custom view to dialog. Here is a kotlin code to use Custom Dialog.

     AwesomeCustomDialog(this)
                    .setTopColor(Color.parseColor("#00BCD4"))
                    .setIcon(R.drawable.ic_register)
                    .setIconTintColor(Color.WHITE)
                    .setView(R.layout.bottomview)
                    .configureView(object: AwesomeCustomDialog.ViewConfigurator{
                        override fun configureView(v: View) {
                            // Configure your view here.
                        }
                    })
                    .show()

Description

Use this dialog to add custom view to fully customizable dialog, and also you can configure those views.