Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

add some setters and getters to get icon of tab and change it programmatically #77

Open
m04az wants to merge 2 commits intoneokree:masterfrom
m04az:master
Open

add some setters and getters to get icon of tab and change it programmatically #77
m04az wants to merge 2 commits intoneokree:masterfrom
m04az:master

Conversation

@m04az
Copy link

@m04az m04az commented Nov 6, 2016

I needed to change a tab icon rec programmatically
and i did it like this

Drawable newicon;
MaterialTabHost tabHost;
...
tabHost.gettabon(3).setIcon(newicon);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant