I have a TabLayout. In this case, I have a table with dynamically added rows. When TableRow is selected / clicked, I want to set its background color to the "Click" or "Click" tab on the tab.
I do not want to set any static color, but I want to use the default theme color. How to get tablayout color information?
How to handle the left and right sides of tabs? This is what I get, and after setting tab_background.xml as background backgroundRsourse for all tabs:

- , .
, . - , , , .
, tab_selected_bar_right tab_selected_bar_left. , , . int xml, @mudit.
, . . .