我想执行一个弹出, 该弹出应滑入活动顶部和任何对话框顶部。 另外, 当弹出在屏幕上时, 背景中的活动和对话框仍应是交互式的( 即它们应对触碰作出反应, 所有按钮等仍应有效 ) 。 x 时间后, 弹出应滑出屏幕 。
我提出以下想法,但所有想法都存在某种缺陷:
1.Custom Toast While the toast would always appear on top of activities and dialogs, I dont think it can be made to slide in and slide out.
2. Custom dialog The dialog would also come on top of activity and dialogs but the problem here is that the while my custom dialog is on screen, the activity and all the previously opened dialogs would not be interactive anymore (i.e. they will not take touches).
3. ImageView in Activity The problem with this approach is obvious: it would always appear behind dialogs.
任何帮助都会感激不尽 谢谢!