Reputation: 384
I want to use a BottomBar in my Android app but I'd like to style it like the one in Google Space app. How can I accomplish that effect?
Upvotes: 2
Views: 4279
Reputation: 6071
This library lets you use it like a tab layout SpaceTabLibrary.
Upvotes: 2
Reputation: 384
after asking friend i found this library that implements exactly what i want
Upvotes: 4
Reputation: 3793
The simplest (smoke and mirrors) solution would be to make a nine patch with a bump in the middle for that layout's background - e.g. use Roman's tool - https://romannurik.github.io/AndroidAssetStudio/nine-patches.html
If you need the bottom bar to be animated, then you'll definitely have to create your own. Perhaps do a custom layout and when drawing the background, draw a bump in the middle? Extravaganza would surely be animating a vector drawable: https://developer.android.com/reference/android/graphics/drawable/AnimatedVectorDrawable.html
Upvotes: 0
Reputation: 1591
Some elements to implement your solution :
Upvotes: -2