Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update TabbedBar Android properties #14061

Merged
merged 1 commit into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading