Skip to content

Commit

Permalink
docs: update TabbedBar Android properties (#14061)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga authored Jun 15, 2024
1 parent 97c75af commit f5dfa92
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
14 changes: 10 additions & 4 deletions apidoc/Titanium/UI/TabbedBar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ properties:
availability: creation
platforms: [iphone, ipad, android, macos]
since: {iphone: "9.0.0", ipad: "9.0.0", android: "12.0.0"}
- name: selectedBackgroundColor
summary: Background color of the selected tab indicator.
type: [ String, Titanium.UI.Color ]
availability: creation
platforms: [android]
since: {android: "8.0.0"}
- name: selectedTextColor
summary: Color of the selected text
type: [ String, Titanium.UI.Color ]
Expand All @@ -60,10 +66,10 @@ properties:
The `BAR` style specifies a more compact style and allows the bar's background
color or gradient to show through.
For Android:
[Titanium.UI.TABS_STYLE_*]
In Android [style](Titanium.UI.TabbedBar.style) is only supported in the creation dictionary
of the proxy.
For Android use [Titanium.UI.TABS_STYLE_DEFAULT](Titanium.UI.TABS_STYLE_DEFAULT) or
[Titanium.UI.TABS_STYLE_BOTTOM_NAVIGATION](Titanium.UI.TABS_STYLE_BOTTOM_NAVIGATION) and
it is only supported in the creation dictionary of the proxy.
type: Number
default: Titanium.UI.iOS.SystemButtonStyle.PLAIN for iOS, Ti.UI.TABS_STYLE_DEFAULT for Android
examples:
Expand Down
12 changes: 12 additions & 0 deletions apidoc/Titanium/UI/UI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2406,6 +2406,18 @@ properties:
permission: read-only
since: "10.0.0"

- name: TABS_STYLE_DEFAULT
summary: Default tab style.
type: Number
since: "8.0.0"
permission: read-only

- name: TABS_STYLE_BOTTOM_NAVIGATION
summary: Bottom navigation style.
type: Number
since: "8.0.0"
permission: read-only

- name: TABLE_VIEW_SEPARATOR_STYLE_NONE
summary: The row divider is hidden.
type: Number
Expand Down

0 comments on commit f5dfa92

Please sign in to comment.