REQUEST Background colors (Categories & Channels tv)

sniper01

Well-known member
Joined
Sep 4, 2022
Messages
44
Awards
3
Offline
Can anyone tell me which files exactly so I can change the colors of these backgrounds, please?


black background.png
 

FelixSchrodinger

Well-known member
Joined
Jun 17, 2022
Messages
256
Awards
3
Offline
Can anyone tell me which files exactly so I can change the colors of these backgrounds, please?


View attachment 4786

Found different results with different versions of Smarters V3...

Both versions:

When device type "Mobile"... Live TV, Movies and Series all use cat_left_background for the left side of your pic... Found in res/values/colors.xml , these are called out in res/drawable/left_recycler_sidebar_tv.xml or res/drawable/shape_left_sidebar.xml

Older version:

When device type "TV"... For Live TV, left side of your pic is cat_left_background , right side is trasparent_light (transparent is misspelled) found in res/values/colors.xml . Both colours called out in res/layout (all layout folders) activity_vlcplayer_sky_tv.xml (search for cat_left_background) trasparent_light is under rl_left_channel. Movies and series is cat_left_background still.

Newer version:

When device type "TV"... Live TV both sides are trasparent_light, called out in res/layout (all layout folders) activity_vlcplayer_sky_tv.xml . Left side of your pic is under rl_left. Right side is under rl_left_channel. Movies and series are cat_left_background.

This is only my testing with 2 versions of Smarters. Can't guarantee it will be the same for yours but try it out and let me know if it works for you.
 
Last edited:

sniper01

Well-known member
Joined
Sep 4, 2022
Messages
44
Awards
3
Offline
Found different results with different versions of Smarters V3...

Both versions:

When device type "Mobile"... Live TV, Movies and Series all use cat_left_background for the left side of your pic... Found in res/values/colors.xml , these are called out in res/drawable/left_recycler_sidebar_tv.xml or res/drawable/shape_left_sidebar.xml

Older version:

When device type "TV"... For Live TV, left side of your pic is cat_left_background , right side is trasparent_light (transparent is misspelled) found in res/values/colors.xml . Not sure where this is called out in a drawable XML file. Movies and series is cat_left_background still.

Newer version:

When device type "TV"... Live TV both sides are trasparent_light . Movies and series are cat_left_background.

This is only my testing with 2 versions of Smarters. Can't guarantee it will be the same for yours but try it out and let me know if it works for you.
Thank you so much, I spent all day trying to find the solution, I'll follow your instructions when I wake up and reply to you (y)
 

FelixSchrodinger

Well-known member
Joined
Jun 17, 2022
Messages
256
Awards
3
Offline
Have a re-read of my post mate. Your post follows "Older version" so left side is cat_left_background, right side is trasparent_light.

When mobile, all of them are cat_left_background.

Made a quick video to show you me quickly change both. I made cat_left_background 100% opaque red. I changed trasparent_light a translucent red just to switch it up a bit.

Videos here

End result:

1000007557.jpg

If you want them both to be the same colour in mobile and on TV, go to res/drawable/shape_left_sidebar.xml and change @color/cat_left_background to @color/trasparent_light... or alternative option is to go to res/layout (all layout folders) and change trasparent_light in activity_vlcplayer_sky_tv.xml to cat_left_background but that's more of a mess about doing it that way. Up to you

While I'm at it, currently selected category is hp_cyan , when you're going down in the list the Selector is hp_cyan_trans , the search is cat_search_background_live for Live TV, cat_search_background for VOD. When search is highlighted its hp_cyan_dark. Have a play around.
 
Last edited:

sniper01

Well-known member
Joined
Sep 4, 2022
Messages
44
Awards
3
Offline
After you changed the cat_left_background color, go to the movies or series categories you will find the background of these 2 parts (header & footer) broken

Screenshot_5.png
 

FelixSchrodinger

Well-known member
Joined
Jun 17, 2022
Messages
256
Awards
3
Offline
After you changed the cat_left_background color, go to the movies or series categories you will find the background of these 2 parts (header & footer) broken

View attachment 4794

Weird. Not for me mate

1000007561.jpg

Maybe some other change has caused that? Try edit the original app you downloaded, see if it still happens. Tested mobile and TV. Both work.
 

FelixSchrodinger

Well-known member
Joined
Jun 17, 2022
Messages
256
Awards
3
Offline
After you changed the cat_left_background color, go to the movies or series categories you will find the background of these 2 parts (header & footer) broken

View attachment 4794
At the min the picture you're showing looks like cat_left_background is still set to black and not been changed.

What app you using, show me your edits in colors.xml
 

sniper01

Well-known member
Joined
Sep 4, 2022
Messages
44
Awards
3
Offline
Weird. Not for me mate

View attachment 4795

Maybe some other change has caused that? Try edit the original app you downloaded, see if it still happens. Tested mobile and TV. Both work.
I use android studio,

Finally, I have found the problem, this happens when u use transparent color on cat_left_background, and this is mean that the header and footer have another color.

trasparent_light1.png
 
Last edited:

FelixSchrodinger

Well-known member
Joined
Jun 17, 2022
Messages
256
Awards
3
Offline
Yes, I showed you the original color, but see when I changed the color of (trasparent_light) not cat_left_background sorry

View attachment 4796

I'm using android studio

View attachment 4797
I had a pain in the arse trying to make the left side transparent and couldn't do it as there seems to be other colours behind it.

So for you it's using trasparent_light at the top and bottom then by looks of it. On my phone, Firestick and Shield it doesn't do that. Test it out on a device or try change device in Android studio. I imagine it's using trasparent_light somewhere in layout folders for that device. Not sure where you can change that to be honest, sorry. activity_series_all_data_single.xml seems to be where the code is for VOD sidebar but can't find a trasparent_light anywhere in those files.
 

sniper01

Well-known member
Joined
Sep 4, 2022
Messages
44
Awards
3
Offline
Look what the Developer Assistant app gave me when I clicked on the top bar, I think it is something on id/rl_sidebar, I will keep trying to find the solution, thanks a lot mate, and sorry for any inconvenience.

sidebar.png
 

FelixSchrodinger

Well-known member
Joined
Jun 17, 2022
Messages
256
Awards
3
Offline
Look what the Developer Assistant app gave me when I clicked on the top bar, I think it is something on id/rl_sidebar, I will keep trying to find the solution, thanks a lot mate, and sorry for any inconvenience.

View attachment 4799
Only thing I found for that was trasparent_light_2 . You didn't change that one did you? If not then I'm at a loss there. Good luck anyway mate. It may not even matter on the devices you plan to use as it all looked fine on my devices. Compile and test it out on your devices.
 

sniper01

Well-known member
Joined
Sep 4, 2022
Messages
44
Awards
3
Offline
Only thing I found for that was trasparent_light_2 . You didn't change that one did you? If not then I'm at a loss there. Good luck anyway mate. It may not even matter on the devices you plan to use as it all looked fine on my devices. Compile and test it out on your devices.
When I change cat_left_background color

You can use this color code to see: #8A002FD8

No, I didn't change trasparent_light_2 color

Same problem on my phone device

solid.png


trasparent.png
 

FelixSchrodinger

Well-known member
Joined
Jun 17, 2022
Messages
256
Awards
3
Offline
When I change cat_left_background color

You can use this color code to see: #8A002FD8

No, I didn't change trasparent_light_2 color

Same problem on my phone device

View attachment 4802


View attachment 4803

Ahhh we've crossed wires somewhere, I thought that was trasparent_light showing there. I had exactly same issue with it, I was digging in the activity_series_all_data_single.xml files in layout folders. The header has a grey background so messes up the header and lower background is black so appeared solid when I was doing my editing. I gave up thinking it's because they're using some widget and chose solid colour for cat_left_background.

If you want Live TV left side to be transparent, can change that in shape_left_sidebar.xml from cat_left_background to trasparent_light but I couldn't find a way of making it transparent on VOD. If you do let me know. I'm far from a developer. Just done some digging to change colours.

Not inconvenience, no worries.
 

sniper01

Well-known member
Joined
Sep 4, 2022
Messages
44
Awards
3
Offline
Ahhh we've crossed wires somewhere, I thought that was trasparent_light showing there. I had exactly same issue with it, I was digging in the activity_series_all_data_single.xml files in layout folders. The header has a grey background so messes up the header and lower background is black so appeared solid when I was doing my editing. I gave up thinking it's because they're using some widget and chose solid colour for cat_left_background.

If you want Live TV left side to be transparent, can change that in shape_left_sidebar.xml from cat_left_background to trasparent_light but I couldn't find a way of making it transparent on VOD. If you do let me know. I'm far from a developer. Just done some digging to change colours.

Not inconvenience, no worries.
I will let you know as soon as I find a solution.

I benefited from you many things. Thank you
 
Top