Skip to content

Commit

Permalink
fix(android): fix Material3 BottomNavigation height (#14110)
Browse files Browse the repository at this point in the history
* fix(android): fix Material3 BottomNavigation height

* fix import

* only docs
  • Loading branch information
m1ga authored Nov 9, 2024
1 parent 5f44335 commit d83d64e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apidoc/Titanium/UI/TabGroup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ description: |
one to be opened later, but the root of the application must be a heavyweight window to prevent
it exiting. Tabs cannot be removed from the tab group once added, and tabs cannot be reordered.
* If you use a BottomNavigation on Android with a Material 3 theme you'll have to create a file
`/app/platform/android/res/values/dimens.xml` and add to fix the height of the menu:
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="design_bottom_navigation_height">80dp</dimen>
</resources>
```
* On iOS, more than one tab group may exist, and may be opened and closed as required.
Each tab can contain a stack of windows, and the user can switch between them by tapping the
tab's associated control. Tabs can be removed, and the user may (optionally) be allowed to
Expand Down

0 comments on commit d83d64e

Please sign in to comment.