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

4

3 回答 3

3
  1. 打开Bitmap Style Designer(参见 IDE Rad Studio 的 bin 文件夹)
  2. 在菜单中:File -> New -> Android Light Style for FireMonkey(或 Dark 风格)
  3. 展开节点“图像”。对于不同的屏幕比例,有几个图像。
  4. 查看style.png。为 Tab 查找子图像。头可以重新粉刷这个区域。不要忘记,您需要对所有图像执行此操作(对于所有屏幕比例:style15style20style30
  5. 将样式保存到文件。 在此处输入图像描述
于 2014-11-07T12:33:21.973 回答
0

款式:

使用以下链接来帮助您获得原始默认样式。从那里您可以使用样式的副本,并通过拖放 TStylebook 并双击->加载您复制的样式->进行更改后根据需要进行更改,然后保存并应用..然后只需更改表单的样式书属性...

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

于 2014-11-04T16:19:47.270 回答
0

可能是主题生成器 会帮助你。

更改样式名称 [现在示例] 并设置您的主题,只需下载 zip,将其粘贴到您的资源文件夹中,然后在清单文件中更改主题,例如

android:theme="@style/example"

我希望这能帮到您。

于 2014-11-07T13:31:09.930 回答