在不关闭对话框的情况下切换对话框布局
当我的应用程序首次运行时,我希望在对话框中显示欢迎消息。然后,用户可以单击底部的“下一步”,该框将保留,但会显示一个新的布局,用户可以在其中输入信息。
我该怎么办呢?如果我能够在两个布局之间添加动画,例如第二个从右侧滑入,那就太好了。这可能吗?
我想我也许可以使用
builder.setView(secondlayout);
When my app is first run, I would like to have a welcome message displayed in a dialog box. Then the user can click next at the bottom, and the box stays but a new layout is displayed where the user can input information.
How would I go about this? It would also be great if I was able to add an animation between the two layouts, the second one sliding in from the right for example. Is this possible?
I was thinking I may be able to use
builder.setView(secondlayout);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论