嗨,我正在使用 android 等 iphone 中底部标签栏的按钮。我有三个屏幕并在所有屏幕中显示三个按钮。我对每个屏幕中的每个按钮都使用了以下编码。
Intent intentNavOne = new Intent(ScreenOne.this,
ScreenTwo.class);
intentNavOne .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
intentNavOne .addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
intentNavOne .addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
startActivity(intentNavOne );
现在的问题是有时导航的流程发生了变化。我只想要解决方案。任何其他方式来完成我的任务。在此先感谢。