Android开发---制作桌面可移动控件
做Android的应该经常会看见桌面上显示歌词,或者流量监控的悬浮窗。今天通过一个简单的实例来学习。先看看效果。1. 先建一个top_window.xml。这个就是用来在桌面上显示的控件。<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width...