android
绿豆沙冰
这个作者很懒,什么都没留下…
展开
-
android 透明 形状 悬浮窗 闪烁的原因
没有设置 wmParams.format = PixelFormat.RGBA_8888;wmParams = WindowManager.LayoutParams()val inflater = LayoutInflater.from(application)mFloatLayout = inflater.inflate(R.layout.activity_float, null) as LinearLayoutmWindowManager = application.getSystemSe.原创 2021-04-05 14:00:23 · 861 阅读 · 0 评论 -
Android EditText 残影
EditText 后面一定要有颜色 不能透明例如:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#fff" //如果没有这一行就可能会有残影 android:orientati原创 2021-04-04 21:55:49 · 153 阅读 · 0 评论