Closed ayushmaniac closed 4 years ago
@ayushmaniac : You can add image from your main class, it's not static. I think you can find this in our demo. Let us know if you still have query. Also, We will update our demo so that you can check how we can add fragment.
@shwetachauhan-simform this is pretty awesome, just wanted to know how are we adding the fragments.
@ayushmaniac : We will update demo very soon. Please give star if itβs useful to you or if you like it.
tried doing this way to change the icons on setShowListener, didn't work
var bottom = bottomNavigationView.getModelById(id)
bottom?.apply {
icon = drawable
}
@ayushmaniac : https://github.com/simformsolutions/SSCustomBottomNavigation/blob/master/app/src/main/java/com/sscustombottomnavigation/MainActivity.kt
Please check this and on line no 30 you can see we added drawable icon, you can change it there.
@shwetachauhan-simform that is a defined drawable for unselected items I guess, I wanted to change the icon when users clicks any menu.
ohh, I see. That part is not implemented.
Thanks for update. We will add this.
@ayushmaniac : We can add but it will take sometime , would be great if you can send us pr for this , I'll merge it.
@ShwetaChauhan18 @shwetachauhan-simform started working on that, just wanted to know with the bumps it has a background on the back which is a bit more than the height of the bump, how to remove it or keep it transparent?
@shwetachauhan-simform can you explain me the above mentioned
Can you please add screen shot for that? I will check it and update you by tomorrow
Get Outlook for iOShttps://aka.ms/o0ukef
From: ayushmaniac notifications@github.com Sent: Friday, June 5, 2020 10:03:59 PM To: simformsolutions/SSCustomBottomNavigation SSCustomBottomNavigation@noreply.github.com Cc: Shweta Chauhan shweta.c@simformsolutions.com; Mention mention@noreply.github.com Subject: Re: [simformsolutions/SSCustomBottomNavigation] BottomNav - Change Icons (#11)
@shwetachauhan-simformhttps://github.com/shwetachauhan-simform can you explain me the above mentioned
β You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/simformsolutions/SSCustomBottomNavigation/issues/11#issuecomment-639615294, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APA7DUQCMGV2EMKHRBIIXKTRVEM7PANCNFSM4NRVE7FQ.
@shwetachauhan-simform already added screenshot, check the above mentioned point.
@shwetachauhan-simform any luck?
What if someone wants to change the image itself @bottomnav, you are only changing the color. How do one change the image of it. As well how is fragment going to get added?