tweaks to notices

- new notice when entering info pane (sharing/navigation)
- mention NFC in general how-to
- add some punctuation

Fixes #750
This commit is contained in:
fkloft
2014-01-31 00:31:47 +01:00
parent bb5c6ea6f6
commit b80c4fc7ef
3 changed files with 22 additions and 4 deletions

View File

@ -242,6 +242,7 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt
public void switchTo(final Pane pane) {
mPane = pane;
if (pane.equals(Pane.INFO)) mNotificationHelper.showNotice(IITC_NotificationHelper.NOTICE_SHARING);
updateViews();
}

View File

@ -18,7 +18,8 @@ public class IITC_NotificationHelper {
public static final int NOTICE_INFO = 1 << 1;
public static final int NOTICE_PANES = 1 << 2;
public static final int NOTICE_EXTPLUGINS = 1 << 3;
// next one would be 1<<4; (this results in 1,2,4,8,...)
public static final int NOTICE_SHARING = 1 << 4;
// next one would be 1<<5; (this results in 1,2,4,8,...)
private final Activity mActivity;
private final SharedPreferences mPrefs;
@ -48,6 +49,9 @@ public class IITC_NotificationHelper {
text = String.format(text, Environment.getExternalStorageDirectory().getPath()
+ "/IITC_Mobile/plugins/");
break;
case NOTICE_SHARING:
text = mActivity.getString(R.string.notice_sharing);
break;
default:
return;
}