D
D
DragoN DragoN2018-03-16 05:34:37
Android
DragoN DragoN, 2018-03-16 05:34:37

How to make TabItem stretch over text in TabLayout and not have equal width?

I need the text to fit and stretch the tab. Now, by default, TabItems are stretched to make all existing tabs equal.
Additional question:
How can I change the layers for animation so that the tabIndicator is under the TabItem, not above it. The task is to make a transparent TabItem, and under it the tabIndicator was a certain color and thus the selected tab would be highlighted

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question