Skip to content

Instantly share code, notes, and snippets.

@Nyame123
Created November 14, 2020 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nyame123/7d53bd122df38ac57e4c187dae55ff80 to your computer and use it in GitHub Desktop.
Save Nyame123/7d53bd122df38ac57e4c187dae55ff80 to your computer and use it in GitHub Desktop.
setting the state animator to the view
<Button
android:id="@+id/scaleBtn"
android:layout_width="0dp"
android:stateListAnimator="@animator/animate_scale"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_weight="0.4"
android:text="Scale" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment