How to use own theme and image flickering
tolew1 opened this issue · comments
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.
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.
Hi, I'll try and see if I can get a screen cap