added 'add external plugin' button to IITC plugins preference. ensures that the scripts are always copied to the correct folder.
This commit is contained in:
BIN
mobile/res/drawable-hdpi/ic_action_new.png
Normal file
BIN
mobile/res/drawable-hdpi/ic_action_new.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 262 B |
BIN
mobile/res/drawable-mdpi/ic_action_new.png
Normal file
BIN
mobile/res/drawable-mdpi/ic_action_new.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 185 B |
BIN
mobile/res/drawable-xhdpi/ic_action_new.png
Normal file
BIN
mobile/res/drawable-xhdpi/ic_action_new.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 250 B |
BIN
mobile/res/drawable-xxhdpi/ic_action_new.png
Normal file
BIN
mobile/res/drawable-xxhdpi/ic_action_new.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 288 B |
12
mobile/res/menu/plugins.xml
Normal file
12
mobile/res/menu/plugins.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_plugins_add"
|
||||
android:icon="@drawable/ic_action_new"
|
||||
android:orderInCategory="10"
|
||||
android:showAsAction="ifRoom|collapseActionView"
|
||||
android:title="@string/menu_plugins_add"/>
|
||||
|
||||
</menu>
|
@ -86,9 +86,8 @@
|
||||
<string name="notice_extplugins">
|
||||
<![CDATA[Hint:<br><br>
|
||||
IITC Mobile is able to load external plugins too!<br><br>
|
||||
• create <b>%1$s</b><br>
|
||||
• move *.user.js files there<br>
|
||||
• plugins should be listed above the official plugins]]>
|
||||
Add them by clicking the (+) icon at the top right.
|
||||
The plugin files have to end with \'.user.js\' and are copied to <b>%1$s</b><br>]]>
|
||||
</string>
|
||||
<string name="notice_sharing">
|
||||
<![CDATA[With <em>Share portal</em> you can:<br>
|
||||
@ -162,6 +161,7 @@
|
||||
<string name="menu_clear_cookies">Clear Cookies</string>
|
||||
<string name="menu_search">Search</string>
|
||||
<string name="menu_debug">Debug</string>
|
||||
<string name="menu_plugins_add">Add external plugins</string>
|
||||
<string name="choose_account_to_login">Choose account to login</string>
|
||||
<string name="login_failed">Login failed.</string>
|
||||
<string name="search_hint">Search Locations</string>
|
||||
|
Reference in New Issue
Block a user