Hướng dẫn sử dụng Object Animator để tạo hiệu ứng cho view trong android
Dùng Object Animator để tạo hiệu ứng Bài viết này hướng dẫn các bạn cách tạo hiệu ứng bằng file XML sau đó điều khiển bằng code java. Bạn nên tạo mới project để thực hành. Bước 1: Tạo project có 1 textview và 1 nút bấm Code Textview: <TextView android:id=”@+id/tv01″ android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”Hello!” android:textSize=”40dp” android:background=”#FF9800″/> […]