Skip to content

Commit

Permalink
docs(all): add Slider style example (#13518)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed Jul 31, 2022
1 parent 918388a commit 9aeff5d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apidoc/Titanium/UI/Slider.yml
Expand Up @@ -22,6 +22,14 @@ description: |
[rightTrackImage](Titanium.UI.Slider.rightTrackImage) properties be specified before the properties would be honored. Beginning with
Titanium SDK 4.0.0 this limitation has been removed. However it is recommended that either both or neither be specified.
To style different parts of the Slider you can set these properties in a custom Android theme:
``` xml
<item name="android:progressBackgroundTint">#f4511e</item>
<item name="android:progressTint">#388e3c</item>
<item name="android:thumbTint">#c51162</item>
```
You can also use `@android:color/transparent` to remove the tint.
extends: Titanium.UI.View
excludes:
events: [pinch]
Expand Down Expand Up @@ -394,6 +402,7 @@ properties:
- name: tintColor
summary: The color shown for the portion of the progress bar that is filled.
type: [String, Titanium.UI.Color]
platforms: [iphone, ipad, android, macos]
since: {iphone: "3.1.3", ipad: "3.1.3", android: "8.3.0"}
osver: {android: {min: "5.0"}}

Expand Down

0 comments on commit 9aeff5d

Please sign in to comment.