Feature Request: Allow Ribbon to be applied other icons
See original GitHub issueReally pleased to see this library picked up from where the last dev left off.
Whilst this works great for an app with a single entry point, we have an app with multiple launcher activities it would be good to be able to apply the ribbon to them all.
I believe you are currently limited to just the icon and round icon in the application tag of the manifest by:
public static List<String> getLauncherIcons(File manifestFile) throws SAXException, IOException {
GPathResult manifestXml = xmlSlurper.parse(manifestFile);
GPathResult applicationNode = (GPathResult) manifestXml.getProperty("application");
String icon = String.valueOf(applicationNode.getProperty("@android:icon"));
String roundIcon = String.valueOf(applicationNode.getProperty("@android:roundIcon"));
...
But this doesn’t check for activities or activity-alias’es with potentially a different icon and android.intent.category.LAUNCHER
A way to give the library a list of icon paths to ribbonize would be ideal, and probably a lot easier/cleaner than iterating the manifest.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Windows 7 Ribbons - Win32 apps | Microsoft Learn
A ribbon is a command bar that organizes a program's features into a series ... These unintelligible icons require labels for rich commands....
Read more >Customizable ribbons and icons - Devolutions Forum
To make it a request that would benefit everyone who uses RDM, I'm sure others would like to customize their ribbons also or...
Read more >New Ribbon - Support for path/vector icons | WinForms Edition
We have workarounds for other problems with the new ribbon, but not icon access. When time allows, I'll submit the full list of...
Read more >Ribbon not applied to API 26 adaptive-icons #23 - GitHub
Any timeline on this? I use a vector for my foreground adaptive icon layer and would like to be able to apply the...
Read more >[CONNECT Ribbon] Display Icon for a submenu under ...
I am using a Ribbon containing Splitbuttons and DropDownButtons. Under one of these I want to make a SubMenu with a few MenuItems....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue-Label Bot is automatically applying the label
feature_request
to this issue, with a confidence of 0.98. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
Tested with debug build and the multiple icons are all decorated as expected. Thank you very much.