1

This post demonstrates how to programmatically set the translationZ attribute for a view using: ViewCompat.setTranslationZ(view, translationZ); in an API level that is less than 21.

Is there a way to do this in XML only with an AppCompatImageView or is it only possible programatically?

My AppCompatImageView is inside of a ConstraintLayout

Foobar
  • 6,448
  • 13
  • 64
  • 126

0 Answers0