Thanks for the tutorial! Maybe I can collaborate with two tips: 1 - Setting the view as GONE will solve the problem of clickable in INVISIBLE state. 2- If you use the variable "clicked" as a global kind, you wont need to pass it as parameter in the functions. Thanks again!
yes but no, setting the visibility to GONE and the animation wont work since the INVISIBLE state let the view stay at that position but the GONE state will move the view back to where it was restricted. But a workaround for this is to set visibility to GONE after finishing the animation using Handler or etc (I think the android team should support this in the future)
Thank you, Stevdza San. I love this channel. It has taught me a lot of new things. I found one issue with Floating action button invisibility and I resolved that issue with FloatingActionButton hide() and show().
How to decrease the opacity of background (including the action bar) when fab expands? I've tried multiple measures but can't find a way to apply the required effect to action bar.
Really appreciate but How to close or collapse the fab button NOT ONLY when we click on the fab button again BUT ALSO when we click outside of the fab (elsewhere in the background) ? Help me please ! 🙏 I'm a beginner and I've been looking for this for a really long time....
Bro! Can u show how can i autoclose this FAB when i press on one of this button or screen pls! I think need some write on setAnimation(), but i'll try all xD
I have the problem when i try to write "add_btn.SetOnClickListener... etc. Android Studio doesn't see any of floating buttons. I tried with new project with normal button and it is still the same problem. Someone knows how to solve the problem?
I have a question. I tried to implement this buttons in my new project. But when I did everything the same like from tutorial app is crashing. stackoverflow.com/questions/65755070/aplication-crashing-with-floating-button-and-navigation-drawer-kotlin Could you make a look on it?
@@StevdzaSan I've tried Kotlinx Synthetic migrate to View Binding in your video but it didn't worked, add_btn.set..... still not showed up in android studio. I'm using Android Studio Dolphin | 2021.3.1 Canary 7. Glad if you can help me. Thank you.
if we are talking about this (private val clicked = false) then it will be correct (private var clicked = false) then there will be no error clicked =! clicked
Hi, great tutorial, but could you tell me how to make the buttons not so far apart? There is a large gap between the first button and the pen button. Thank you!
voce poderia fazer em java ...por favor........um video sobre esse assunto....eu gostei muito....gostaria de fazer esse detalhe no meu aplicativo......
Instead of clickable false. why not set visibility to gone? And what if any clickable view stack below that fab which are invisible and not clickable? By the way you are awesome. Just perfect
Thanks for the tutorial! Maybe I can collaborate with two tips:
1 - Setting the view as GONE will solve the problem of clickable in INVISIBLE state.
2- If you use the variable "clicked" as a global kind, you wont need to pass it as parameter in the functions.
Thanks again!
GONE is the right way to do it. Invisible will block clicks on the underlaying fragment/activity and is a bad hack overall.
This should be pinned since it is a better approach than what is done in the video. Thank you.
yes but no, setting the visibility to GONE and the animation wont work since the INVISIBLE state let the view stay at that position but the GONE state will move the view back to where it was restricted. But a workaround for this is to set visibility to GONE after finishing the animation using Handler or etc (I think the android team should support this in the future)
There are very few android studio with kotlin tutorials but after discovering you I don't think I need more
Thank you, Stevdza San. I love this channel. It has taught me a lot of new things.
I found one issue with Floating action button invisibility and I resolved that issue with FloatingActionButton hide() and show().
How to decrease the opacity of background (including the action bar) when fab expands? I've tried multiple measures but can't find a way to apply the required effect to action bar.
Really appreciate but How to close or collapse the fab button NOT ONLY when we click on the fab button again BUT ALSO when we click outside of the fab (elsewhere in the background) ? Help me please ! 🙏 I'm a beginner and I've been looking for this for a really long time....
Do you have the same tutorial as this but in java
If you use visibility GONE instead of INVISIBLE, you shouldn't have problems with registering clicks on empty space. And great video btw :)
But then animation would not work
@@StevdzaSan Aha, ok :)
@@StevdzaSan How about for the second part of the video putting all the code into library and reusing it in different project?
A lot of your videos helped me so much! Thank you, I hope you make more videos about UI/UX
Wooow, finally, the best of web!! Awesome
Thank you, Stevdza San. I love this channel. It has taught me a lot of things.
I'm happy to hear that buddy! :)
can you do this with jetpack compose ? can't find any video as clear as this one on expandable FAB with jetpack compose
Hello Sir, what must i change to be able to use the logic code in java?
it is very much helpful . Thank you for the videos.
I want to add text in floating action button.. How can i do that
Hi thanks fo the tutorial, was really helpful but i have a problem. My buttons keep visible after i trigger the add button, why could it be??
Hi. Is there a way to do this with Jetpack Compose? I didn't find any resource for that
Hi how are things! I saw your video and I really liked it, will you have another one explaining the procedure in JAVA? Thank you
This is very helpful! Thank you so much!
essa parte do private val no da certo no java.......como que eu coloco ....
Bro please paste github link so that we can copy and reuse your code
Thanks for the lesson. Would be nice if you shared link to repo too. But thanks a lot!
thank you very much
What is val in "private val rotateOpen"? Is it a java Class?
amazing, firebase cloud functions a video about this was excellent
would be excellent, sorry for my english
I have a question. how will you add this in a navigation component?
VeryGood Thanks
Thanks a lot brother for this!
is there a java version or the MainActivity? i am using java
Add more videos man... You are too awesome....
Gracias, saludos desde Colombia
Rally good video!
Very good but animation doesn't work the second time. Can you help me ?
very helpful 👍👍
Very good! but someone who helps me the logic in java, thanks you!
look in github
@@DPPDolphin how
Great tutorial
Bro! Can u show how can i autoclose this FAB when i press on one of this button or screen pls!
I think need some write on setAnimation(), but i'll try all xD
I have the problem when i try to write "add_btn.SetOnClickListener... etc. Android Studio doesn't see any of floating buttons. I tried with new project with normal button and it is still the same problem. Someone knows how to solve the problem?
Kotlinx.synthetic is deprecated. I made video about that, check on my channel.
@@StevdzaSan Thanks a lot! That's my begining with Android Studio and I spend a lot of time to find solutions. Your channel is the most helpful on YT!
I have a question. I tried to implement this buttons in my new project. But when I did everything the same like from tutorial app is crashing. stackoverflow.com/questions/65755070/aplication-crashing-with-floating-button-and-navigation-drawer-kotlin
Could you make a look on it?
@@StevdzaSan I've tried Kotlinx Synthetic migrate to View Binding in your video but it didn't worked, add_btn.set..... still not showed up in android studio. I'm using Android Studio Dolphin | 2021.3.1 Canary 7. Glad if you can help me. Thank you.
Thanks!!!
getting error while type val after private ! Any solution to please!!
if we are talking about this (private val clicked = false) then it will be correct (private var clicked = false) then there will be no error clicked =! clicked
The buttons are still there. That means you can't scroll when you accidentally click on the invisible buttons...
Hi, great tutorial, but could you tell me how to make the buttons not so far apart? There is a large gap between the first button and the pen button. Thank you!
All you have to do is reducing the constraint space. You can either type the XML code or use the properties panel on the right. I hope it helps!
when I use the code private val and animation by lazy it doesnt recognize val and lazy
how can I fix this?
Same error 😭😭
@Carolina Pistillo if you have the solution please text
If you get the answer please text I have to submit this by tomorrow
@@stanleyjohnson8781 Yes I have it. Try this:
rotateOpen = AnimationUtils.loadAnimation(this, R.anim.rotate_open_anim);
@@carolinapistillo4147 how to use this? I mean we have to use this after private val or just this line?
voce poderia fazer em java ...por favor........um video sobre esse assunto....eu gostei muito....gostaria de fazer esse detalhe no meu aplicativo......
Thx!
You're welcome 👌
Instead of clickable false. why not set visibility to gone?
And what if any clickable view stack below that fab which are invisible and not clickable?
By the way you are awesome. Just perfect
Setting visibility to gone will disable the animation
@@StevdzaSan oh I did not notice that. Thanks for quick reply. ❤️
How could I implement this in java sir? is it the same way as what you did in kotlin?
It is basically the same but in Java, it would not have any problem
@@danielleguizamon9891 Thanks bro!
Спасибо большое !!! )
Thanks 👊
any common library for this kind of functionality out there?
A library is not necessary for this, you could use the code in an extension function and use it where it should, it is a recommendation
in java, please!!
Isso é Kotlin ou Java no MainActivity?
Uma dica: é só olhar a extensão do lado do nome da classe (MainActivity no caso). Quando for .kt é kotlin, se não, será .java
Добротно
In Jetpack Compose, please
VIDEOS Speed is fast as hell wtf
Can you use motion layout instead??
Yes
Please create video on firebase authentication with OTP
Sou do Brasil
Впервые в жизни, пришлось ставить скорость 0.75х. Обычно ставлю 1.5х или 2х. Но тут пришлось замедлить 😆😆😆
im stuck at 1:25
😃
hl
nice russian accent