I tested my app on various phones and native stuff like progress dialog and Toast messages look normal, but when I started testing on the phones with Android 5.0, edges of progress dialog/Toast got cut off.
What am I doing wrong? On every phone with OS lower than Lollipop it works fine.
My Style, as requested:
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar">
<!-- <item name="android:actionBarStyle">@style/AppTheme.ActionBarStyle</item>
</style>
<style name="AppTheme.ActionBarStyle" parent="android:Theme.Holo.Light.NoActionBar">
<item name="android:background">#1d2128</item>
<!--<item name="android:titleTextStyle">@style/AppTheme.ActionBar.TitleTextStyle</item>-->
<item name="android:icon">@drawable/top_bar_logo</item>
<!--<item name="android:indeterminateProgressStyle">@style/IndeterminateProgress</item>-->
</style>
<style name="AppTheme.MainActivity" parent="android:Theme.Holo.Light.NoActionBar">
<item name="android:clipToPadding">false</item>
</style>
To fix this issue remove <item name="android:fitsSystemWindows">true</item>
from your themes.xml
This will also fix weird offsets and text wrapping behaviour when displaying EditText.setError("error");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With