added default plugin icon plus JSInterface method
This commit is contained in:
parent
a9ecd268ac
commit
2522a97ee9
BIN
mobile/res/drawable-hdpi/ic_action_new_event.png
Normal file
BIN
mobile/res/drawable-hdpi/ic_action_new_event.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 407 B |
BIN
mobile/res/drawable-mdpi/ic_action_new_event.png
Normal file
BIN
mobile/res/drawable-mdpi/ic_action_new_event.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 369 B |
BIN
mobile/res/drawable-xhdpi/ic_action_new_event.png
Normal file
BIN
mobile/res/drawable-xhdpi/ic_action_new_event.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 480 B |
BIN
mobile/res/drawable-xxhdpi/ic_action_new_event.png
Normal file
BIN
mobile/res/drawable-xxhdpi/ic_action_new_event.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 521 B |
@ -178,4 +178,15 @@ public class IITC_JSInterface {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// some plugins may have no specific icons...add a default icon
|
||||||
|
@JavascriptInterface
|
||||||
|
public void addPane(final String name, final String label) {
|
||||||
|
mIitc.runOnUiThread(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
mIitc.getNavigationHelper().addPane(name, label, "ic_action_new_event");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user