Skip to main content

Hiệu ứng lắc trong android



Tạo project Android:

Bước 1: Add folder đặt tên anim nằm trong thư mục res
add thư mục anim trong res
 Tạo 2 file .xml 
+ cycle.xml để cấu hình "số lần lắc "
+ shake.xml cấu hình hiệu ứng lắc

Bước 2: Sử dụng hiệu ứng lắc
Xây dựng màng hình gồm 1 button và 1 EditText
Code trong main.java


Download source code:  Tại đây

Comments

Popular posts from this blog

Socket Android Client to PC Server C#

Using AsynCallback C# Android Client connect Server C# Source code:  http://ow.ly/OlXj309O1mj c# socket multi client, socket c# example, socket server c#, socket c# tutorial, asynchronous socket in c#, c# socket multiple clients, c# socket server multiple clients, Download source code:  Click Here

Bài tập thuật toán C/C++ Và Tuyển tập đề thi olympic

Gồm: +  Các thuật toán của Lê Minh Hoàng + Tuyển tập các đề thi olympic tin học sinh viên Link down: Tại đây

Cross Platform Mobile App: Demo shop with flutter

Cross Platform Mobile App: Demo shop with flutter So cool framework from google <3  Demo:  Demo Code console.print("hello")