简体   繁体   中英

How to adjust the height and bold the text of the tab's in android programmatically?

Can someone tell me how should i adjust the height of my three tabs's diagrammatically rather than in xml because my picture overlaps the wording therefore i had to adjust my tab's slightly longer but width still remain the same... And how should i bold the text string in the indicator at the same time? But how should i do that in my current context of code i'm rather in android..

You can use custom layout for your tabs here is an example source on how to do this android-custom-tabs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM