How to animate Buttons, TextView, ImageView, etc. in Android Studio (Kotlin 2020)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 เม.ย. 2020
  • In this Android Studio tutorial I'll be showing you how to create simple animations using the animate() method. It's pretty sweet for simple animations, and very easy to use.
    ​​​​

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

  • @MamaChaos
    @MamaChaos 2 ปีที่แล้ว +10

    A year later and this is SO helpful - no BS, no waffling about life stories that takes up 10mins of a 12 min video like others do..... THANK YOU!

  • @riskromer9773
    @riskromer9773 3 ปีที่แล้ว +1

    Down to the point, no bullocks. Great tut. Subscribed

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

    Great tutorial, straight to the point

  • @Arzacks
    @Arzacks 3 ปีที่แล้ว +1

    Nice and easy, thanks! Very useful

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

    Nice video! Learn a lot. Thanks bro :)

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

    So cool!

  • @CiprianBindiu
    @CiprianBindiu 3 ปีที่แล้ว +4

    Your tutorial was a great source of inspiration. Thank you!

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

      i realize I am kinda randomly asking but do anyone know of a good website to watch new tv shows online ?

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

      @Malcolm Cruz i use flixzone. You can find it by googling :)

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

      @Erik Toby yea, I've been using FlixZone for months myself =)

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

      @Erik Toby thank you, signed up and it seems to work =) I really appreciate it !

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

      @Malcolm Cruz glad I could help :)

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

    Finally, my hero!

  • @vijay6877
    @vijay6877 3 ปีที่แล้ว +1

    interesting. Thanks for this tutorial. btw now I can rotate a bottle.

  • @helloworldprogram58
    @helloworldprogram58 24 วันที่ผ่านมา

    Awesome!!🎉🎉

  • @savvaschristodoulou9952
    @savvaschristodoulou9952 3 ปีที่แล้ว +1

    When I animate an imagebutton, if it's clicked again the animation starts from the current point of the current animation instead of the initial position. Ideally I would want the animation to start from the initial position. How can I fix this?

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

    love you man 🤩

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

    Thanks bro. Im computer teacher in turkey. İts very usefull for me. I am following u.

  • @bidiptoroy6350
    @bidiptoroy6350 3 ปีที่แล้ว +1

    thanks a lot

  • @benjaminBtech
    @benjaminBtech 2 ปีที่แล้ว +1

    Thank You!!!!!!

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

    bro thank u a lot❤

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

    thank you

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

    nice one

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

    Maybe someone can help me... I want an animation, that starts, if I load the smartphone. But just for one time

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

    How did you manage to simply use id of the image?

  • @LibyaMicro
    @LibyaMicro 2 ปีที่แล้ว +1

    how you can see the iv_image without findByID

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

    how do i add the animation dependency

  • @landfathich
    @landfathich 8 หลายเดือนก่อน

    TOP

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

    谢谢!

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

      Thank you for your generosity :)

  • @benjaminBtech
    @benjaminBtech 2 ปีที่แล้ว +1

    Any video for add sound to buttons In Kotlin? this topic is killing me and Im Sure there is a lot of people searching for it and there is nothing, and again thank you for this one !!!

    • @Indently
      @Indently  2 ปีที่แล้ว +1

      Unfortunately I don't have any videos on that topic, and I feel you, I didn't enjoy it either! But this video might help: th-cam.com/video/a3yLc9J0hGE/w-d-xo.html
      But I don't know if it's deprecated, since Google updates everything crazy fast.

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

      @@Indently Thank you soo much Again

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

    Bro
    When I click a button the TextView or image view changes , now how to implement transition animation like moving left or right between two resources

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

      Thank you

  • @m-k3
    @m-k3 4 ปีที่แล้ว

    Whats you speek in the intro 0:01

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

    Dude, thank you for the video, I have a question, I want the animation to change for another image.. Thank you for your time.

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

    How do I a easy out or ease in?

  • @neilabad9753
    @neilabad9753 3 ปีที่แล้ว +4

    iv_image unresolved reference.. help please

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

      the same issue

    • @dangis2400
      @dangis2400 2 ปีที่แล้ว +1

      val image = findViewById(R.id.iv_image)

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

      Just apply this plugin in your App module Gradle file,
      plugins {
      //...
      id 'kotlin-android-extensions'
      }
      or you can you can also do what @Dangis is saying

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

    Why didn't you do findviewbyid?

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

    Thanks... but if I want to implement this code in java then? please comment it..

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

    what if you want to increase the speed of the animation

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

      set duration lower, or make degree higher like he did

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

    im a newbie to animation can anyone suggest a video for me

  • @HardevSingh-xr9vm
    @HardevSingh-xr9vm ปีที่แล้ว

    ❤❤❤❤❤🎉🎉🎉🎉🎉🎉🎉🎉

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

    It gives me an error when I add "apply"

  • @Mecenatt
    @Mecenatt 3 ปีที่แล้ว +1

    не работает