• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps design question-swapping out a fragment for input vs alert dialog

JohnLaird

Well-Known Member
I'm trying to learn some basic android app development so I decided to make an activity for managing my player character's hit-points for the Pathfinder game I am in. I need to either pop up a dialog or swap out a fragment in the existing UI in order to give the user a place to specify the hit point change and make notes so that it can be shown in the listview log (see figure 1).

My question is, would it be less intrusive and more streamlined for the user if I swapped out the logging listview (again see figure 1) with an input fragment or should I pop up an alert dialog box with a fragment embedded in it (see figure 2)? Basically what I need to know is, is it best practice to use dialogs for input or are they really intended for emergencies or alerts such that the user cannot continue at all without dealing with them?

Figure 1:
hpmanager_design_question.jpg


Figure 2:
hpmanager_design_question_dialog.jpg
 
Back
Top Bottom