Luke Plant committed 4f1a05c

Added 'Preferences' menu item

Comments (0)

Files changed (3)


     public static final class id {
         public static final int dashboard_menuitem=0x7f080003;
         public static final int fullscreen_content_controls=0x7f080000;
+        public static final int preferences_menuitem=0x7f080005;
         public static final int progressbar=0x7f080001;
         public static final int refresh_menuitem=0x7f080004;
         public static final int web_engine=0x7f080002;


 <menu xmlns:android="" >
     <item android:id="@+id/dashboard_menuitem" android:title="Dashboard"></item>
     <item android:id="@+id/refresh_menuitem" android:title="Refresh"></item>
+    <item android:id="@+id/preferences_menuitem" android:title="Preferences"></item>


 			return true;
+		case
+			getEngine().loadUrl("javascript: $('.preferences-link').click()");
 			return super.onOptionsItemSelected(item);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.