How to shape a Floating Action Button in Android (without library)

  Рет қаралды 15,810

Philipp Lackner

Philipp Lackner

Күн бұрын

Пікірлер: 31
@miq0717
@miq0717 4 жыл бұрын
Awesome! You are the best!! Always covering exceptional content more than traditional ones. Thank you
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Wow, thanks!
@thaariqnasution
@thaariqnasution 2 жыл бұрын
thank you so much! this really helps my school project
@parthpatel8173
@parthpatel8173 4 жыл бұрын
That's awesome stuff covered in this video for Fab shape. Moreover, you have covered how we can override the existing Material Theme component style.
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Glad it was helpful!
@bordz3726
@bordz3726 Жыл бұрын
why is my themes.xml is only one and when I press it it doesnt have that
@renatobalcazar4269
@renatobalcazar4269 3 жыл бұрын
You are awesome! Very precise information
@seedfromcdl
@seedfromcdl 5 ай бұрын
is it possible to change shape when clicked?? squared shape (FAB) clicked circle shape (FAB)
@soontaek
@soontaek 4 жыл бұрын
Thanks for the number of examples in this video. Do you have any plans to do tutorials on button animations or anything else related to animations?
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Yes, but I don't know when. I might wait with that until jetpack compose is out
@soontaek
@soontaek 4 жыл бұрын
@@PhilippLackner awesome man! I'll stay in tune while learning other things from your contents there is quite a lot to learn as a beginner, thanks to your efforts.
@sweetbaboo566
@sweetbaboo566 3 жыл бұрын
Awesome video! Is there a way to make a hexagon instead of an octagon? Also how to make the image in the middle larger? Thanks so much!
@AryanvedhFromIndia
@AryanvedhFromIndia 3 жыл бұрын
how to add a fab in a particular fragment only?
@vedx
@vedx 4 жыл бұрын
Can you tell how gmail fab is working. As we start scrolling it changes shape and when we move to top it changes shape again. 🤔
@PhilippLackner
@PhilippLackner 4 жыл бұрын
That's a custom view then
@xenofonkarydis6406
@xenofonkarydis6406 4 жыл бұрын
However, if we have 2 or more Fab in the same layout, how can we apply different styles to each one?
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Just assign individual styles to views in xml using style=""
@xenofonkarydis6406
@xenofonkarydis6406 4 жыл бұрын
@@PhilippLackner Haha...pretty easy. Thnx man
@alirezanoorali1598
@alirezanoorali1598 2 жыл бұрын
Saved my day!
@arman721
@arman721 10 ай бұрын
I mainly wanted to see how you can change the color of the button this way. which unfortunately you didn't mention.
@teladoum9
@teladoum9 Жыл бұрын
Nice training
@skotch_izolentovich
@skotch_izolentovich 3 жыл бұрын
Thank you helped me a lot
@mehulbisht9708
@mehulbisht9708 4 жыл бұрын
The splash screen video that you recently released, my activity is retaining the splash theme even after setContentView() is called , i did change the theme before setContentView() , but one thing that i think might be causing this issue is, I defined separate Themes in my Styles folder for different activities and i set those Theme to activities inside the Android Manifest file. So should i change the theme for the activities in their KT files as well besides doing it in the manifest ?
@PhilippLackner
@PhilippLackner 4 жыл бұрын
If that works, then I'd do that
@marc988
@marc988 2 жыл бұрын
Is it possible to set an "icon" as a shape for a FAB (instead of an icon "inside" a circle/shape) ? Imagine the Facebook or WhatsApp logo itself "as a shape" of an FAB (and NOT inside a geometric shape). Can anyone give me a suggestion please? Thanks
@mohamadalemi2596
@mohamadalemi2596 4 жыл бұрын
is there any way to shape image view like this? (cut each part we want) how?
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Yes but only with a custom view, that's not as easy
@Amir._.R
@Amir._.R 3 жыл бұрын
best
@georgenady7375
@georgenady7375 3 жыл бұрын
perefect
@viktor-leskov
@viktor-leskov 4 жыл бұрын
Nice
@E6y4a94yma
@E6y4a94yma 3 жыл бұрын
Спасибо тебе! Да благословит тебя Сталин
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Expandable Floating Action Button - Android Studio Tutorial
12:55
The Ultimate Gradle Kotlin Beginner's Crash Course For 2025
42:17
Philipp Lackner
Рет қаралды 22 М.
Make Your Code Clean With the SOLID Principles
18:24
Philipp Lackner
Рет қаралды 102 М.
I've Used Jetpack Compose For 4 Years - Here's the Good and the Bad
16:12
Custom Buttons Design - Android Studio Tutorial
8:03
Stevdza-San
Рет қаралды 400 М.
ViewModels & Configuration Changes - Android Basics 2023
18:46
Philipp Lackner
Рет қаралды 137 М.
How to Draw On a Canvas In Jetpack Compose - Android Studio Tutorial
31:47