Анимированные иконки кнопок через AnimatedVectorDrawable

This commit is contained in:
Beluga737 committed 2026-12-04 08:38:18 +07:00
1 parent 35c3fe992f
commit 54818ff6cc
27 files changed
+290 -12

No files matched your search

@@ -26,23 +26,28 @@ class MainActivity : AppCompatActivity() {
}
findViewById<View>(R.id.buttonSchedule).setOnClickListener {
IconAnimator.start(it)
startActivity(Intent(this, Raspisanie::class.java))
finish()
}
findViewById<View>(R.id.buttonTips).setOnClickListener {
IconAnimator.start(it)
startActivity(Intent(this, Informaition::class.java))
finish()
}
findViewById<View>(R.id.buttonAbout).setOnClickListener {
IconAnimator.start(it)
startActivity(Intent(this, infoProgram::class.java))
finish()
}
findViewById<View>(R.id.buttonSettings).setOnClickListener {
IconAnimator.start(it)
startActivity(Intent(this, Settings::class.java))
finish()
}
findViewById<View>(R.id.buttonParty).setOnClickListener {
IconAnimator.start(it)
startActivity(Intent(this, funny::class.java))
finish()
}