Styling Bottom-Tabs for Native iOS and Android #3721
nuno-vicente
started this conversation in
Ideas
Replies: 1 comment
-
|
That's a valid question. Since this topic is duplicated - here and on SWM discord, I'll redirect the conversation there. For anyone interested, please navigate to https://discord.com/channels/464786597288738816/1341714352226570240/1475846739519865075 This is Software Mansion's discord: https://discord.gg/pHQMN2s2 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team 👋
I'm working on a local patch (for react-navigation/bottom-tabs & react-native-screens) that enables additional styling on native iOS and Android.
I'm interested to know if these changes align with your vision or if you're open to supporting/maintain such modifications.
On iOS, while the system supports base64 image icons, it primarily uses
UITabBarControllerwhich only displaysUIImage, limiting the styling possibilities. I've successfully created a patch where I useUIGraphicsImageRenderer, allowing icon corner radius adjustment. Displaying rounded images on the tab bar.Concerning Android,
BottomNavigationViewappears to apply universal tinting to all icon types on the bottom tab due to thesetTintList()call from Material. Is there a plan to support the tinted property from the icon's 'image' type on Android? For image cases, I'm exploring the option of encapsulating the bitmap in a customDrawableto prevent undesired tinting.I'm very interested to hear your thoughts and feedback on these matters.
Beta Was this translation helpful? Give feedback.
All reactions