icons

Problem when using generator-rn-toolbox to apply icon

拥有回忆 提交于 2019-12-13 20:27:31
问题 I use generator-rn-toolbox to set icon and splash screen for my react-native app as instructions - install generator npm install -g yo generator-rn-toolbox - install brew brew install imagemagick - generate icons yo rn-toolbox:assets --icon ~/Desktop/logo.png Then I encountered an error as below internal/modules/cjs/loader.js:584 throw err; ^ Error: Cannot find module 'universal-analytics' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) at Function.Module._load

Render icon to the right side in the JList using DefaultListCellRenderer

拜拜、爱过 提交于 2019-12-13 20:16:57
问题 I have a DefaultListCellRenderer in my program and it does all the work fine but I was wondering if I can add image to the far right in the JList instead of putting it to the left. Is it possible to render icon to the right side in the JList using DefaultListCellRenderer ? And if yes help me use that in following code. public class RCellRenderer extends DefaultListCellRenderer { String runm = ""; public RCellRenderer(String runm) { this.runm = runm; } public Component

How do you add an icon to a OSX console app with XCode 6?

让人想犯罪 __ 提交于 2019-12-13 18:48:07
问题 I give up, I can't figure it out. I'm new to mac, and this is driving me insane. The steps outlined here are not sufficient: https://developer.apple.com/library/mac/recipes/xcode_help-image_catalog-1.0/chapters/AddingIconSets2.html The result: the blocky "exec" icon. What else do I need to do? The .xcassets files I created have been added to the "Copy Bundle Resources" build phase. However, the executable isn't any larger. I also created an .icns file, and I was never able to get that to work

iTunes preview has started showing incorrect icons for new app submissions and updates

折月煮酒 提交于 2019-12-13 18:23:48
问题 I've noticed that as of a couple weeks ago, whenever I update one of my apps and it gets approved, it will start showing its icon with the glossy overlay in iTunes preview. I have not changed a thing, it is not suppose to show the glossy overlay. In itunes connect I can see that the prerendered icon flag is set to true, which is correct. The icon is shown correctly everywhere (in-device, app store, iTunes) except for iTunes preview. As a perfectionist I find this annoying. UPDATE: I tried

How to change freeglut main window icon in C++?

倾然丶 夕夏残阳落幕 提交于 2019-12-13 18:21:55
问题 I have a DLL written in C++ that uses FreeGlut to visualize some data. I want to change the icon of the main (free)glut window. I've read that it is impossible, but in the docs I see: GLUT_ICON - specifies the icon that goes in the upper left-hand corner of the freeglut windows. How can I change icon for (free)glut window, if possible? 回答1: OK, I did it: Create a Resource for the project and add an 32x32 icon (edit it or import). This icon will get the ID equal to IDI_ICON1 . Include the

Application icon with counter on android

青春壹個敷衍的年華 提交于 2019-12-13 17:47:34
问题 How can I implement counter on application icon on the desktop? (like SMS application shows number of unread messages) Should I implement widget for the same? Is there any tutorial? 回答1: You cannot modify an application icon - the path to icon is stored inside AndroidManifest.xml, both files are signed with your certificate, application cannot write to it's own .apk file. You may try a hack - install one "wrapper" app, and let it install/uninstall bunch of other dummy apps, which will have an

jQuery mobile- How to change the icon of select to a custom icon?

有些话、适合烂在心里 提交于 2019-12-13 16:29:26
问题 I have to change the select icon in <select> to a fa icon. The code I use: <select class="sortBy" name="sortBy" data-url="${url}" data-icon="ui-icon-arrow-sort"> <option value="">Sort By</option> <option value="new" selected="selected">Newest</option> <option value="old">Oldest</option> </select> The CSS is: .ui-icon-arrow-sort{ content: "\f0dd"; display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased;

ActionBar get current icon, findviewbyid

我们两清 提交于 2019-12-13 16:25:52
问题 I know how to set the icon of the actionbar, but how do I determine what icon is currently there? I don't see an accessor like getIcon , I think it is possible to find the icon view by id, since I've done this with the search widget in the actionbar, but I wouldn't know what id to call. 回答1: According to the source code of ActionBarView.HomeView you should be able to get ImageView of icon by android.R.id.home . So code may look like: ImageView imageView = (ImageView) findViewById(android.R.id

Displaying file type icons in a web app?

一曲冷凌霜 提交于 2019-12-13 15:25:11
问题 In Desktop applications, you can usually get at the underlying operating system's icon for a particular filetype and display that to the user. In a web app, I'm restricted from such functionality, so it looks like I probably need to provide my own icon set. Does anyone know of any well-licensed free icon sets for common icon types? I found a project on github, but it's missing some of the types I need (open document, docx, bitmap, etc.) 回答1: IconFinder is a good search engine for this. It

How to remove the dock icon of a shell executable?

隐身守侯 提交于 2019-12-13 15:14:42
问题 I have a java application built with Eclipse, for Mac OS X. This app is installed via a .pkg file and supposed to be daemonized . Everything works fine, with Macbooks (Pro, Retina) , but with the iMac I work on, when the application launches, i have an icon on the Dock , as you can see on the following link. I have already tried the solution in this topic: stackoverflow.com/a/620950/3641679 but it didn't work (I still have the Dock icon). Currently the Info.plist looks like this. What can I