There's an activity called whereActivity. I put in a dialog as child. I want to show this activity as a dialog for another activity. What should I do?
android android-activity android-dialog
You can define it as dialog in the Android manifest file.
<activity android:theme="@android:style/Theme.Dialog" />
And go to the call point you want and startActivity() and it will appear in a dialog. And if you press the Back button, the previous activity will be displayed
© 2024 OneMinuteCode. All rights reserved.