NavigationTabBar icon indicating copy to clipboard operation
NavigationTabBar copied to clipboard

change background indicator height

Open klaszlo8207 opened this issue 7 years ago • 1 comments

I want the selector to work like here.

https://camo.githubusercontent.com/7ead597346be3b6ae76d307ae7891d12b766f2ab/68747470733a2f2f64726976652e676f6f676c652e636f6d2f75633f6578706f72743d646f776e6c6f61642669643d304278504f5f55655337775363523346554e5452765331424a654545

Basically I need to update the indicator's height to 10dp at the selector's bottom. How can be done this?

klaszlo8207 avatar May 31 '18 06:05 klaszlo8207

in NavigationTabbar you have to add this line:

    if (mIsHorizontalOrientation) mPointerBounds.set(
            mPointerLeftTop,
            mBounds.height() + barBadgeMargin - (theHeightInDp), //this line
            mPointerRightBottom,
            mBounds.height() + barBadgeMargin
    );

please create this, thanks!

klaszlo8207 avatar May 31 '18 10:05 klaszlo8207