ConversationFragment: enable back button to dismiss
The ConversationFragment has a AlertDialog for showing the message details, which sets the cancelable property to be false. This stops the user from being able to use the back button to dismiss the dialog.
This commit is contained in:
parent
3d782449ed
commit
667d22bace
1 changed files with 2 additions and 2 deletions
|
@ -153,7 +153,7 @@ public class ConversationFragment extends SherlockListFragment
|
|||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
||||
builder.setTitle(R.string.ConversationFragment_message_details);
|
||||
builder.setIcon(Dialogs.resolveIcon(getActivity(), R.attr.dialog_info_icon));
|
||||
builder.setCancelable(false);
|
||||
builder.setCancelable(true);
|
||||
|
||||
if (dateReceived == dateSent || message.isOutgoing()) {
|
||||
builder.setMessage(String.format(getSherlockActivity()
|
||||
|
|
Loading…
Add table
Reference in a new issue