0

I cannot change the color of the bottom of the selected tab (TabItem) on the TabControl. I need to change from light blue to dark blue as at the top.

I'm using Firemonkey for Android and Delphi XE6.

enter image description here

Andrew T.
  • 4,701
  • 8
  • 43
  • 62
Anderson Nunes
  • 201
  • 3
  • 18
  • 1
    Use CustomTab and Tab selector for your purpose You can refer [here][1] [1]: http://stackoverflow.com/questions/18486571/is-it-possible-to-change-actionbar-tab-indicator-programmatically – Praveena Nov 07 '14 at 10:16

3 Answers3

3
  1. Open Bitmap Style Designer (see a bin folder of IDE Rad Studio)
  2. In Menu: File -> New -> Android Light Style for FireMonkey (or Dark style)
  3. Expand node "Images". There are a several images for different screen scales.
  4. Look at the style.png. Find a subimages for Tab. Tou can repaint this area. Don't forget, that you need to do it for all images (for all screen scales: style15, style20, style30)
  5. Save style to file. enter image description here
Yaroslav Brovin
  • 964
  • 6
  • 19
0

Styles:

use the following link to help you obtain original default style.From there you can use a copy of the style, and make changes as you wish via dropping a TStylebook and double clicking-> Loading your copied style -> after you make changes, then save and apply.. Then simply change the stylebook property for the form...

http://delphihaven.wordpress.com/2013/12/31/inspecting-platform-styles-redux/

ThisGuy
  • 1,405
  • 1
  • 24
  • 51
0

May be theme generator will help you.

Change the style name [now example] and Set your theme, and Just download the zip, paste it in your resource folder, then change the theme in your manifest file, like

android:theme="@style/example"

I hope this will help you.

Gunaseelan
  • 14,415
  • 11
  • 80
  • 128