Close fragment when tapped on the empty section

This commit is contained in:
maskara 2017-05-14 13:53:37 +02:00
parent 04e5432f13
commit ec0da2f4af
2 changed files with 98 additions and 76 deletions

View file

@ -107,4 +107,9 @@ public class NearbyInfoDialog extends OverlayDialog {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, articleLink);
startActivity(browserIntent);
}
@OnClick(R.id.emptyLayout)
void onCloseClicked() {
dismissAllowingStateLoss();
}
}