onehamidreza / meowbottomnavigation Goto Github PK
View Code? Open in Web Editor NEWAndroid Meow Bottm Navigation
Home Page: http://etebarian.com
Android Meow Bottm Navigation
Home Page: http://etebarian.com
on documentation i didnt see how to add text in buttom nav item?
Hi
how can i set default selected icon !? i mean is it possible to choose default icon when parent activity starts working
Hello Hamidreza.
I'm using your awesome BottomNavigation.
Now, I want to set background color for selected button.
Is this possible? Can you help me on this?
tnx (:
How can i use this in Java ?
i tried to use it but I couldn't find the usage of listeners here.
MyMeowBottomNavigation.show(N, true);
: N is index item.
Hi there, I just wanna use this just like android default bottomNavigation in my code:
------------------xml-------------
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_nav"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
app:labelVisibilityMode="labeled"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:menu="@menu/bottom_nav" />
------------------------activity--------------
navController = Navigation.findNavController(this , id.home_nav_host_fragment)
binding.bottomNav.setupWithNavController(navController)
NavigationUI.setupActionBarWithNavController(this , navController)
I want to kwow how to implement this bottom navigation in the navigation component.
Hi
When we click on all the buttons several times one comes up and causes the user to be dumb.
Check it out thanks.
video : http://s7.picofile.com/file/8388883876/video_2020_02_20_13_41_50.mp4.html
tnx for lib.
I am getting crash with this error :
java.lang.IllegalArgumentException: Invalid Transition types
at androidx.fragment.app.FragmentTransition.chooseImpl(FragmentTransition.java:465)
at androidx.fragment.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:321)
at androidx.fragment.app.FragmentTransition.startTransitions(FragmentTransition.java:138)
at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1866)
at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1824)
at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727)
at androidx.fragment.app.FragmentManagerImpl$2.run(FragmentManagerImpl.java:150)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
UI & animations are damn good in this library. Coming to the issue, I'm calling a fragment when one of the menu items are clicked and Keypad keeps closes as soon as editText is focused in that fragment. I checked it many a times but, result is same. Can you help me in fixing this please?
I have used this library and set its onShowLisener and its OnClickMenuListener it works for many times but for sometimes when one item selected it does not work and by second or third click it'll work.
thanks
Hi. Is there a way to change bottom navigation icon size? Thanks.
I'm trying this bottom navbar and it's beautiful, but it doesn't have the possibility to handle hiding of opened button programmatically ( example: add fragment to stack and press back to return main page)
When i set a value for count, layout is refresh. Why is happened? How can i prevent this?
Is there any way we can make Icons and Texts dynamic in this?. I am getting bitmap from Api end but in this api we can only use vector Drawables. If there is any possibilities than please help
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.alialfayed.facerecognition/com.alialfayed.facerecognition.view.activity.HomeActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class com.etebarian.meowbottomnavigation.MeowBottomNavigation
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2817)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Caused by: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class com.etebarian.meowbottomnavigation.MeowBottomNavigation
Caused by: android.view.InflateException: Binary XML file line #14: Error inflating class com.etebarian.meowbottomnavigation.MeowBottomNavigation
Hello guys, I am using this library in an activity and show fragment on a frame layout when user click on any button of bottom navigation. when user want to type anything in any editText, keyboard does not open by showing this message in logcat:
2020-02-06 07:38:20.352 3650-3650/com.tivasoft.myorder W/IInputConnectionWrapper: getTextAfterCursor on inactive InputConnection
and keyboard closed.
can we add text below the icons?
I want to use label for each tab , how can i achieve that?
Hi, I want to show fragments in MVVM arc, but I get crashes, anybody can handle fragments with this library?
Please, upload a full source of java for this project. Many of us who code in java can't understand the kotlin code, there is not enough source to convert kotlin to java. The ByteCode are also so confusing. Please, update it for java also.
Good morning, would disabled animation in one item in bottomnavigation and if can
I found this issue:
when i create the class first to do is init the component like this:
bottomMenu!!.add(MeowBottomNavigation.Model(1, R.drawable.ic_facebook)) bottomMenu!!.add(MeowBottomNavigation.Model(2, R.drawable.ic_twitter)) bottomMenu!!.add(MeowBottomNavigation.Model(3, R.drawable.ic_instagram)) bottomMenu!!.setOnShowListener { when(it.id){ OPC1 -> onClickMenu(it.id) OPC2 -> onClickMenu(it.id) OPC3 -> onClickMenu(it.id) else -> "" } } bottomMenu!!.show(1, true)
But the issue begin when the app is running the OnClickMenu() in OPC1 execute 5 times... why ??
How to remove item selection from bottom navigation.
Can you drop typealias and use an interface from setOnClickMenuListener and setOnShowListener in order to make your library compatible with Java?
The circle showing the notification count has no space at all from the top of the bar itself. Doesn't look aesthetic. Is there a way to create a gap without copying the whole project? It could use like a 2dp margin
Say i have a count of 0 (zero) how do i remove the badge from the icon?
Hi, how to set reselect listener?
how to add notification badge to each menu item ??
after set not count how reset it
Actually I haven't used kotlin till yet and doesn't ever wanna bother but, you did such a great job so I wanna implement it in my existing project.
Wann to know how to add nav menu items in java and call it from Java code.
Thanx in Advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.