Ramotion / animated-tab-bar

:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion
https://www.ramotion.com/animated-tab-bar-ios-app-development-ui-library/
MIT License
11.13k stars 1.33k forks source link

Tabbar with larger middle button as shown in screenshot #165

Closed ThreadPitt closed 6 years ago

ThreadPitt commented 7 years ago

Hi,

the design example on the page looks great, what would be the approach to create a larger middle tab bar item (e.g. "Roles" in the image) with the animated tab bar?

Thx & Cheers Thread

RayanSaeed commented 7 years ago

+1

BeGooD33 commented 7 years ago

+1

al-babar commented 7 years ago

If anybody finds solution for it?

RayanSaeed commented 7 years ago

Actually it's very simple. I did it like this

If I had 5 tabs, all of my other 4 tab's images were 50x50 ... So I made the middle one 50x85 and used Photoshop to make sure it looks just the way I want it to be.

asijoumi commented 7 years ago

It's not possible to override RAMAnimatedTabBarController. I saw it's an imageView, so we can round the middle item, but I can't override this class.

ErAshu commented 7 years ago

Any update on this??

priyonto commented 6 years ago

Any update on this?

0ber commented 6 years ago

You could use yOffset to move items look for https://is.gd/jK1uRA