New issue
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
Adding library messes up with the activity style & show Toolbar by default #45
Comments
I will look into this as soon as I get some time. If it's critical, please contact harshbbhakta@gmail.com |
Do you use material theme or you follow a custom theme?
…On Wed, Feb 16, 2022 at 22:46 github-actions[bot] ***@***.***> wrote:
I will look into this as soon as I get some time. If it's critical, please
contact ***@***.***
—
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFQ32GUSC6S4HR3ST5F7DLU3SDSBANCNFSM5OTU75XQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I am using Material theme: <style name="SfAppTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
..
</style> I fixed it, I had to change the style name from |
Since you have applied the theme to your app that should have precedence
over theme defined in any library. Have you applied the defined theme to
your entire app (and all its modules)?
…On Fri, Feb 18, 2022 at 03:29 AndroCurious ***@***.***> wrote:
I am using Material theme:
<style name="SfAppTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
..
</style>
—
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFQ32HTI2WH3EQZL2NKHJDU3YNP5ANCNFSM5OTU75XQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Exactly, my app's theme should override your lib's theme. Yes I had applied that theme everywhere. |
I'll take a look at it this weekend. Is there any isolated project that can
reproduce this?
…On Fri, Feb 18, 2022 at 11:04 AndroCurious ***@***.***> wrote:
Exactly, my app's theme should override your lib's theme.
This is strange 😵💫
Yes I had applied that theme everywhere.
—
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFQ32AFHVCM4UG7RDKMCX3U32CZ5ANCNFSM5OTU75XQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I was just exploring the library in one of my private projects. |
I created a sample project and kept the theme name "AppTheme" and project's theme overrode the library theme. So not sure why you had to change the theme name. But anyways, it will be a good idea for library to change theme name. |
v0.0.7 should have this fixed if this was a problem by library in the first place. |
@hbb20 Cool thanks 🤟🏼 |
I tried adding your library to my Android project:
implementation("com.hbb20:android-country-picker:0.0.6")
When I run the app, it overrides the activity style & show
Toolbar
by default!!I am using style with this theme
Theme.MaterialComponents.Light.NoActionBar
.This is the only reason I am not using this library 😞
The text was updated successfully, but these errors were encountered: