Anderson Nunes
Anderson Nunes

Reputation: 191

Change the color of the selected TabItem footer

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

Upvotes: 0

Views: 1983

Answers (3)

Gunaseelan
Gunaseelan

Reputation: 15535

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.

Upvotes: 0

Yaroslav Brovin
Yaroslav Brovin

Reputation: 964

  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

Upvotes: 3

ThisGuy
ThisGuy

Reputation: 1415

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/

Upvotes: 0

Related Questions