Material-BottomBarLayout icon indicating copy to clipboard operation
Material-BottomBarLayout copied to clipboard

Font style

Open hitesh-kanzariya opened this issue 4 years ago • 2 comments

How to apply style in text ?

hitesh-kanzariya avatar Feb 10 '21 11:02 hitesh-kanzariya

@HiteshKanzariya07 Good suggestion, I will support it soon later.

Moosphan avatar May 19 '21 11:05 Moosphan

@HiteshKanzariya07 Sorry, i forgot this library has this ability already. You can use BottomTabView.getTabTextView() to get the real TextView of title like this:

bottomBarLayout
                .addTab(tab_home)
                .addTab(tab_look)
                .addTab(tab_mine)
                .create(new BottomBarLayout.OnTabSelectedListener() {
                    @Override
                    public void onTabSelected(BottomTabView tab) {
                        Log.e(TAG, "onTabSelected: =="+tab.getTabPosition() );
                        +tab.getTabTextView().setTextSize(26);
                    }

                    @Override
                    public void onTabUnselected(BottomTabView tab) {
                        +tab.getTabTextView().setTextSize(16);
                    }

                    @Override
                    public void onTabReselected(BottomTabView tab) {

                    }
                });

Moosphan avatar Jul 15 '21 12:07 Moosphan