HeaderDialog

Additional

Language
Java
Version
1.0.6 (Jul 28, 2018)
Created
Jan 15, 2017
Updated
Jul 29, 2018
Owner
Marcos Calvo García (marcoscgdev)
Contributor
Marcos Calvo García (marcoscgdev)
1
Activity
Badge
Generate
Download
Source code
APK file

Promotion

HeaderDialog  

An android library to display a material-designed dialog with header.


Important note: Do not enable the justified text if you are using html content!

Accessing inflated custom view

HeaderDialog headerDialog = new HeaderDialog(this);
...
headerDialog.show();
headerDialog.getInflatedView().findViewById(R.id.checkbox).setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View v) {
        Toast.makeText(MainActivity.this, "Checkbox clicked!", Toast.LENGTH_SHORT).show();
    }
});

See the


sample project to clarify any queries you may have.