prettify nfc dialog
This commit is contained in:
@@ -346,4 +346,6 @@
|
|||||||
<!-- Share -->
|
<!-- Share -->
|
||||||
<string name="share_qr_code_dialog_start">Go through all QR Codes using \'Next\', and scan them one by one.</string>
|
<string name="share_qr_code_dialog_start">Go through all QR Codes using \'Next\', and scan them one by one.</string>
|
||||||
<string name="share_qr_code_dialog_progress">QR Code %1$d of %2$d</string>
|
<string name="share_qr_code_dialog_progress">QR Code %1$d of %2$d</string>
|
||||||
</resources>
|
<string name="share_nfc_dialog">Share with NFC</string>
|
||||||
|
|
||||||
|
</resources>
|
||||||
@@ -53,8 +53,8 @@ public class ShareNfcDialogFragment extends DialogFragment {
|
|||||||
|
|
||||||
AlertDialog.Builder alert = new AlertDialog.Builder(activity);
|
AlertDialog.Builder alert = new AlertDialog.Builder(activity);
|
||||||
|
|
||||||
alert.setIcon(android.R.drawable.ic_dialog_alert);
|
alert.setIcon(android.R.drawable.ic_dialog_info);
|
||||||
alert.setTitle(R.string.warning);
|
alert.setTitle(R.string.share_nfc_dialog);
|
||||||
alert.setCancelable(true);
|
alert.setCancelable(true);
|
||||||
|
|
||||||
alert.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
|
alert.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
|
||||||
|
|||||||
Reference in New Issue
Block a user