Closed rayliverified closed 6 years ago
I found a workaround to solve your issue. Please update to the latest release and add this style to your style.xml
:
This is just a temporaly workaround while I work on a better one (apply a custom style to the whole dialog).
<style name="MaterialStyledDialogs_Description">
<item name="android:layout_marginTop">20dp</item>
<item name="android:layout_marginBottom">20dp</item>
<item name="android:layout_marginLeft">26dp</item>
<item name="android:layout_marginRight">26dp</item>
<item name="android:gravity">center</item>
<item name="android:textColor">@android:color/primary_text_light</item>
<item name="android:textSize">@dimen/md_styled_text_description</item>
<item name="android:alpha">0.6</item>
</style>
Thank you for addressing these issues so quickly! Material Styled Dialog is really great and I am using it extensively in my project. So far, its been perfect! Is there a way I can buy you an iced coffee to show my appreciation?
Thank you for using the library and reporting issues.
Closing due to inactivity.
I just upgraded from Material Styled Dialog v1 to v1.5.5. Unfortunately, the latest version does not format descriptions correctly. This is how the dialogue appears with v1:
The dialogue appears wrong in v1.5.5:
Am I missing a setting? Please help, thank you!
EDIT: I looked into this a bit further and the bug appears between v1.4 and v1.4.1 Seems that changing from a linear layout to a relative layout messed with the bottom margins/padding.