Skip to content
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

How to use own theme and image flickering #31

Open
tolew1 opened this issue Jun 21, 2023 · 2 comments
Open

How to use own theme and image flickering #31

tolew1 opened this issue Jun 21, 2023 · 2 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@tolew1
Copy link

tolew1 commented Jun 21, 2023

First thanks for the module. It's nice, easy and seems to work how a gallery should.

There should an option to change the colorAccent without having to implement your own theme. I just wanted to change all the purple to my app color. If I use my own theme, I lose the Toolbar navigation. The only thing I've been able to do is manually add the module to my project then change the colors.

Do you know what I need to do in order to use the Theme option for my theme and still see the back arrows and close button?

2nd when you preview an image in a bucket, it sometimes flickers multiple times.

@mehdiyari
Copy link
Owner

mehdiyari commented Jun 24, 2023

Hi @tolew1, Thanks.
For your first question, we currently don't have an official API for changing just one colour of Fallery, but you can override the colours with your desired colours in the colors.xml file.

<color name="fallery_dracula_colorAccent" tools:node="replace">{Your Desired Color}</color>
<color name="fallery_light_colorAccent" tools:node="replace">{Your Desired Color}</color>

Here you can see all the colours you can override for both themes.

  <!-- dracula theme colors -->
    <color name="fallery_dracula_backgroundColor">#151e27</color>
    <color name="fallery_dracula_colorPrimary">#212d3b</color>
    <color name="fallery_dracula_colorPrimaryDark">#151e27</color>
    <color name="fallery_dracula_colorAccent">#5ea3de</color>
    <color name="fallery_dracula_iconTintColor">#7a8694</color>
    <color name="fallery_dracula_toolbarIconTintColor">#ffffff</color>
    <color name="fallery_dracula_primaryTextColor">#ffffff</color>
    <color name="fallery_dracula_secondaryTextColor">#7c8896</color>
    <color name="fallery_dracula_hint_text_color">#697686</color>
    <color name="fallery_dracula_place_holder_color">#1d2733</color>
    <color name="fallery_dracula_toolbar_text_color">#FFFFFF</color>

    <!-- light theme colors -->
    <color name="fallery_light_backgroundColor">#ffffff</color>
    <color name="fallery_light_colorPrimary">#ffffff</color>
    <color name="fallery_light_colorPrimaryDark">#CFD8DC</color>
    <color name="fallery_light_colorAccent">#A11183</color>
    <color name="fallery_light_iconTintColor">#504f4f</color>
    <color name="fallery_light_toolbarIconTintColor">#504f4f</color>
    <color name="fallery_light_primaryTextColor">#000000</color>
    <color name="fallery_light_secondaryTextColor">#999999</color>
    <color name="fallery_light_hint_text_color">#999999</color>
    <color name="fallery_light_place_holder_color">#EEEEEE</color>
    <color name="fallery_light_toolbar_text_color">#000000</color>

For your second question, please share more information with me: the device model and Android version. Also, if you can record the screen, it would be great.

Thanks for your contributions.

@mehdiyari mehdiyari self-assigned this Jun 24, 2023
@mehdiyari mehdiyari added bug Something isn't working question Further information is requested labels Jun 24, 2023
@tolew1
Copy link
Author

tolew1 commented Jun 29, 2023

Hi, I'll try and see if I can get a screen cap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants