diff --git a/mobile/res/values/strings.xml b/mobile/res/values/strings.xml index 1babb023..7fe993dd 100644 --- a/mobile/res/values/strings.xml +++ b/mobile/res/values/strings.xml @@ -68,6 +68,12 @@ • tap and hold a portal for a second
• tap on the left half of the status bar]]> + +
+ Some plugins (e.g. portals list and bookmarks) now appear in the navigation drawer for quick access.
+ They won\'t appear in the info pane any more.

+ Swipe from the left edge of your screen (or click the app icon) to seem them.]]> +
UI Misc diff --git a/mobile/src/com/cradle/iitc_mobile/IITC_NavigationHelper.java b/mobile/src/com/cradle/iitc_mobile/IITC_NavigationHelper.java index e8aaa085..0b61a00d 100644 --- a/mobile/src/com/cradle/iitc_mobile/IITC_NavigationHelper.java +++ b/mobile/src/com/cradle/iitc_mobile/IITC_NavigationHelper.java @@ -36,6 +36,7 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt public static final int NOTICE_DRAWERS = 1 << 0; public static final int NOTICE_INFO = 1 << 1; + public static final int NOTICE_PANES = 1 << 2; // next one would be 1<<2; (this results in 1,2,4,8,...) private final IITC_Mobile mIitc; @@ -87,6 +88,9 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt case NOTICE_INFO: text = mIitc.getText(R.string.notice_info).toString(); break; + case NOTICE_PANES: + text = mIitc.getText(R.string.notice_panes).toString(); + break; default: return; } @@ -169,6 +173,8 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt } public void addPane(String name, String label, String icon) { + showNotice(NOTICE_PANES); + int resId = mIitc.getResources().getIdentifier(icon, "drawable", mIitc.getPackageName()); mNavigationAdapter.add(new Pane(name, label, resId)); }