window-managers

WindowManager with Animation (is it possible?)

ⅰ亾dé卋堺 提交于 2019-11-27 00:31:37
问题 Is there any way to inflate a view with WindowManager using Animation (at android's project)? I just can't do it even using the examples in sites! I used many examples but none worked! public BannerLayout(Activity activity, final Context context) { super(context); this.context = context; final WindowManager.LayoutParams params = new WindowManager.LayoutParams( WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY, WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | WindowManager.LayoutParams.FLAG