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

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

ความคิดเห็น • 31

  • @miq0717
    @miq0717 4 ปีที่แล้ว +2

    Awesome! You are the best!! Always covering exceptional content more than traditional ones. Thank you

  • @parthpatel8173
    @parthpatel8173 4 ปีที่แล้ว +1

    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.

  • @thaariqnasution8796
    @thaariqnasution8796 2 ปีที่แล้ว

    thank you so much! this really helps my school project

  • @arman721
    @arman721 9 หลายเดือนก่อน +1

    I mainly wanted to see how you can change the color of the button this way. which unfortunately you didn't mention.

  • @renatobalcazar4269
    @renatobalcazar4269 3 ปีที่แล้ว

    You are awesome! Very precise information

  • @soontaek
    @soontaek 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

      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 ปีที่แล้ว +1

    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!

  • @seedfromcdl
    @seedfromcdl 5 หลายเดือนก่อน

    is it possible to change shape when clicked??
    squared shape (FAB)
    clicked
    circle shape (FAB)

  • @teladoum9
    @teladoum9 ปีที่แล้ว

    Nice training

  • @bordz3726
    @bordz3726 11 หลายเดือนก่อน

    why is my themes.xml is only one and when I press it it doesnt have that

  • @skotch_izolentovich
    @skotch_izolentovich 3 ปีที่แล้ว

    Thank you helped me a lot

  • @alirezanoorali1598
    @alirezanoorali1598 2 ปีที่แล้ว

    Saved my day!

  • @AryanvedhFromIndia
    @AryanvedhFromIndia 3 ปีที่แล้ว

    how to add a fab in a particular fragment only?

  • @vedx
    @vedx 4 ปีที่แล้ว +1

    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. 🤔

  • @xenofonkarydis6406
    @xenofonkarydis6406 4 ปีที่แล้ว +1

    However, if we have 2 or more Fab in the same layout, how can we apply different styles to each one?

    • @PhilippLackner
      @PhilippLackner  4 ปีที่แล้ว +6

      Just assign individual styles to views in xml using style=""

    • @xenofonkarydis6406
      @xenofonkarydis6406 4 ปีที่แล้ว

      @@PhilippLackner Haha...pretty easy. Thnx man

  • @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

  • @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 ปีที่แล้ว +1

      If that works, then I'd do that

  • @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

  • @viktor-leskov
    @viktor-leskov 4 ปีที่แล้ว

    Nice

  • @Amir._.R
    @Amir._.R 2 ปีที่แล้ว

    best

  • @georgenady7375
    @georgenady7375 3 ปีที่แล้ว

    perefect

  • @E6y4a94yma
    @E6y4a94yma 3 ปีที่แล้ว

    Спасибо тебе! Да благословит тебя Сталин