Skip to content

MaterialAlertDialogBuilder font size error #354

@rulogarcillan

Description

@rulogarcillan

When i use dialog.builder the font size is correct but when i use MaterialAlertDialogBuilder the font size of body text is smaller. its ok?

implementation 'com.google.android.material:material:1.1.0-alpha06'

Im use this theme
<style name="AppTheme" parent="Theme.MaterialComponents.Light">

MaterialComponent

MaterialAlertDialogBuilder(this) .setMessage("This is a test of MaterialAlertDialogBuilder") .setPositiveButton("Ok", null) .show()

Screenshot_20190512-115103_2

AlertDialog.Builder

AlertDialog.Builder(this)
            .setMessage("This is a test of AlertDialog.Builder")
            .setPositiveButton("Ok", null)
            .show()

Screenshot_20190512-115241_2

Where is the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions