We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it happens of you change popup's background on @Styles like that:
<style name="DroppyTheme" parent="Droppy.DroppyPopup"> <item name="android:background">@color/someColor</item> </style>
to solve this i created a shape and seted it as background using the theme above like :
<item name="android:background">@drawable/popup_background</item>
Here is the code : hope it can be helpfull.
`
<item> <shape> <padding android:top="1dp" android:right="1dp" android:bottom="2dp" android:left="1dp" /> <solid android:color="#05000000" /> <corners android:radius="8dp" /> </shape> </item> <item> <shape> <padding android:top="1dp" android:right="1dp" android:bottom="2dp" android:left="1dp" /> <solid android:color="#05000000" /> <corners android:radius="8dp" /> </shape> </item> <item> <shape> <padding android:top="1dp" android:right="1dp" android:bottom="2dp" android:left="1dp" /> <solid android:color="#05000000" /> <corners android:radius="8dp" /> </shape> </item> <item> <shape> <padding android:top="0.4dp" android:right="1dp" android:bottom="1.5dp" android:left="1dp" /> <solid android:color="#05000000" /> <corners android:radius="8dp" /> </shape> </item> <item> <shape> <padding android:top="0.4dp" android:right="1dp" android:bottom="1.5dp" android:left="1dp" /> <solid android:color="#05000000" /> <corners android:radius="8dp" /> </shape> </item> <item> <shape> <padding android:top="0.4dp" android:right="1dp" android:bottom="1.5dp" android:left="1dp" /> <solid android:color="#05000000" /> <corners android:radius="7dp" /> </shape> </item> <item> <shape> <padding android:top="0.4dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /> <solid android:color="#05000000" /> <corners android:radius="6dp" /> </shape> </item> <item> <shape> <padding android:top="0.4dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /> <solid android:color="#05000000" /> <corners android:radius="5dp" /> </shape> </item> <item> <shape> <padding android:top="0.4dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /> <solid android:color="#05000000" /> <corners android:radius="4dp" /> </shape> </item> <item> <shape> <padding android:top="0.4dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /> <solid android:color="#05000000" /> <corners android:radius="3dp" /> </shape> </item> <item> <shape> <padding android:top="0.4dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /> <solid android:color="#05000000" /> <corners android:radius="3dp" /> </shape> </item> <!-- Background --> <item> <shape> <solid android:color="@color/colorAccent" /> <corners android:radius="3dp" /> </shape> </item>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
it happens of you change popup's background on @Styles like that:
<style name="DroppyTheme" parent="Droppy.DroppyPopup"> <item name="android:background">@color/someColor</item> </style>
to solve this i created a shape and seted it as background using the theme above like :
<item name="android:background">@drawable/popup_background</item>
Here is the code :
hope it can be helpfull.
popup_background.xml
`
`
The text was updated successfully, but these errors were encountered: