2

I am trying to create a rather radical tab redesign for my Android app. I want the tabs to be differently sized both in width and height, as well as having the focused tab have a shadow over the content as well as other tabs. However, I do not know how to change the height of tabs or the shadow cast by the focused tab. Can anyone help? Here's what I'm trying to achieve:

enter image description here

user
  • 86,916
  • 18
  • 197
  • 190
Elias Wu
  • 71
  • 7

1 Answers1

1

If you want to customize your Tabhost with your custom style means, you've to customize it. For this case we can do with one feature -

1) Inflating the customized xml file to main TabWidget's using LayoutInflater

2) Do the changes whatever you need in your inflated xml file. For, this please refer below existing answer from stackoverflow. This will surely help you.

Customized TabHost

Community
  • 1
  • 1
Praveenkumar
  • 24,084
  • 23
  • 95
  • 173