【问题标题】:Change colour of Scroll View Indicator for Android in Appcelerator在 Appcelerator 中更改 Android 滚动视图指示器的颜色
【发布时间】:2016-04-05 03:10:33
【问题描述】:

我在 XML 文件中为控制器定义了一个滚动视图:

<ScrollView id="searchResultsContainer"/>

在 TSS 中,我将滚动条指示器显示为 true:

"#searchResultsContainer":{
    backgroundColor: "#fff",
    layout: "vertical",
    width: "100%",
    top: "65dp",
    height: "400dp",
    showVerticalScrollIndicator: "true"
}

如何设置滚动条的颜色?它目前是灰色的,在灰色背景上不是很明显。

【问题讨论】:

    标签: titanium appcelerator appcelerator-titanium appcelerator-alloy


    【解决方案1】:

    You can edit these properties,创建一个新的自定义主题,您可以将它们设置为例如 9 补丁图像。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-27
      • 2011-03-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多