To do this, you must enable the Window flag, which allows external touch, and for a good appearance, the background flag must be cleared. Since this needs to be done after creating the dialog, I implemented it using the Handler .
@Override public void onViewCreated(final View view, Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState);
At this point, external contact is possible.
If we want to make it more enjoyable and without a frame, we can add the following code:
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
Yaniv Mar 14 '13 at 14:18 2013-03-14 14:18
source share