Added Ok button to About dialog
This commit is contained in:
@ -40,6 +40,12 @@ public class AboutDialog extends DialogFragment {
|
|||||||
AlertDialog.Builder b = new AlertDialog.Builder(getActivity());
|
AlertDialog.Builder b = new AlertDialog.Builder(getActivity());
|
||||||
b.setTitle(R.string.menu_about)
|
b.setTitle(R.string.menu_about)
|
||||||
.setView(view)
|
.setView(view)
|
||||||
|
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(DialogInterface dialog, int i) {
|
||||||
|
dialog.dismiss();
|
||||||
|
}
|
||||||
|
})
|
||||||
.setNeutralButton(R.string.label_licenses, new DialogInterface.OnClickListener() {
|
.setNeutralButton(R.string.label_licenses, new DialogInterface.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialogInterface, int i) {
|
public void onClick(DialogInterface dialogInterface, int i) {
|
||||||
|
Reference in New Issue
Block a user