icons

Android Official Icons for XXHDPI and XXXHDPI

那年仲夏 提交于 2019-12-22 04:11:55
问题 With screen resolutions increasing in pixels Google is promoting the use of XXHDPI and XXXHDPI, icons in the official documents. http://developer.android.com/design/style/iconography.html But in their official Android download packs they only go up to XHDPI. http://developer.android.com/design/downloads/index.html Do they expect us to create these icons when can't be bothered too? What are other developers doing especially for the Holo icons, are they creating it from SVG. Update If you

Android Official Icons for XXHDPI and XXXHDPI

元气小坏坏 提交于 2019-12-22 04:11:18
问题 With screen resolutions increasing in pixels Google is promoting the use of XXHDPI and XXXHDPI, icons in the official documents. http://developer.android.com/design/style/iconography.html But in their official Android download packs they only go up to XHDPI. http://developer.android.com/design/downloads/index.html Do they expect us to create these icons when can't be bothered too? What are other developers doing especially for the Holo icons, are they creating it from SVG. Update If you

I it possible to include external SVG defs

匆匆过客 提交于 2019-12-22 04:09:39
问题 I've created the following SVG icons: <svg width="32" height="32" viewBox="0 0 32 32"> <defs> <g id="chat"> <path d="M29.75 0.398h-27.5c-1.036 0-1.875 0.839-1.875 1.875v18.344c0 1.036 0.839 1.875 1.875 1.875h17.626l-0.032-2.813h-15.313c-1.036 0-1.875-0.839-1.875-1.875v-13.375c0-1.036 0.839-1.875 1.875-1.875h22.938c1.036 0 1.875 0.839 1.875 1.875v13.375c0 1.036-0.839 1.875-1.875 1.875h-4.764l-1.432 2.813h8.477c1.036 0 1.875-0.839 1.875-1.875v-18.344c0-1.036-0.839-1.875-1.875-1.875z"/> <path d=

Visual Studio Installer Project: Installer and Application Icons

痴心易碎 提交于 2019-12-22 04:07:54
问题 I've got an icon for one of my applications, which I've embedded in a resource file and is used as the main icon for the application. So far so good. However, I want to use the same icon for the installer project, and for the shortcut that the installer places in the Start Menu. I can set the icon for the installer package itself, but only if I add the icon as an .ico file in the main application folder. The whole point of embedded the icon in a resource file is so that I don't have an ICO

App icon not being set, it is always showing default green android icon

扶醉桌前 提交于 2019-12-22 04:07:28
问题 I have followed the following steps as suggested by tutorials and other stack overflow questions: android:icon="@mipmap/ic_launcher" in the manifest where the app icon is named ic_launcher and all the mipmaps have been appropriately replaced on basis of resolution replaced all mipmap images with the the images generated from Android Asset Studio I have selected the appropriate files in the image asset by right clicking on res. I have uninstalled the old app. Rebuilt the app the ans then run I

Android > Chrome Chromecast icon over html5 video position

早过忘川 提交于 2019-12-22 03:51:38
问题 If there is a Chromecast around and: If the html5 video controls are enabled, the cast buttons shows up in the control bar. If the html5 video controls are disabled, the cast button shows up on the top left. I'd like to disable the native controls, but also include my own cast button, kind of what video.js-chromecast does, but the native button still shows up. Is there anyway to reposition the Cast icon over the html5 video? or completely hide it ? 回答1: After searching the Chromium source

vue-admin中自定义图标问题进行处理

南笙酒味 提交于 2019-12-22 03:40:07
介绍:vue-admin是基于vue.js开发的一个后台管理的框架 (这里不多说) 问题:在处理自定义图标的时候,出现了下面的两个问题: 首先是要导入自定义的图标文件 其次是class命名问题 一、解决图标导入的问题(参考) 关于自定义的图标选择可以使用 阿里的矢量图标库 ,利用github账号直接注册一个,将需要用到的图标加入到购物车里进行添加到项目里就行了,引用的方法有两种,一种是在线引用,另一种则是下载到本地。(如果有能力话的可以自己设计一个图标库) 1、我这里使用的是下载到本地的方式,下载下来里面有两个demo命名的文件,一个是 demo.css ,另一个是 demo.html 。下载后的文件内容如下: 2、使用时只需要将以 iconfont 命名的几个文件拷到项目里引用就可以了。 二、解决class命名上的处理 1、其实vue-admin这个项目模板下载下来里面有个图标组件测试的页面,运行的预览效果如下: 我们就看自定义图标这个就行 2、再来看看对应的文件所处的路径: 3、对文件内容进行查阅并简单分析 这个文件里面并没有Icons和CommonIcon对比,虽说帮助那块有提示内容,我们将其进行改动看看 4、在此之前,先从demo.html里找个图标类出来 5、类名为 icon iconfont icon-stores ,将其拷贝到那个icons.vue的页面里

Setting icon on a Mac with Qt

旧时模样 提交于 2019-12-21 21:42:52
问题 As described in the Qt-Documentation I have created my icon file with the icon-composer. Then I have inserted in my .pro-file the following line. ICON = 3D_Modell.icns While compiling I get the following error: No rule to make target `../3D', needed by `3D_Modell.app/Contents/Resources/3D_Modell.icns' Where is the Contents/Resources folder? Where exactly do I put the icns-file. I have put it into the folder where my project and all cpp and h files lie. 回答1: The instructions suggest you can

Is is possible to use Font Awesome icons in Mapbox Markers?

混江龙づ霸主 提交于 2019-12-21 21:13:12
问题 I'm using the Maki set of icons, but they are very limited and would like to be able to use Font Awesome icons. Is this possible? Here's the code I'm using to set up the marker icons. marker.setIcon(L.mapbox.marker.icon({ 'title': jobid, 'marker-color': '#e32f2f', 'marker-symbol': 'square' })); 回答1: If you've included the font awesome CSS on your page, you can use the L.DivIcon constructor to create custom icon. <style> /* * Unlike other icons, you can style `L.divIcon` instances with CSS. *

How to specify the portion of the image to be rendered inside SVG:image tag?

♀尐吖头ヾ 提交于 2019-12-21 20:56:23
问题 I have a PNG file with lots of icons on it. I want to use it in my SVG. I use the svg:image tag: <image xlink:href="icons.png" height="50px" width="50px"></image> This renders the whole image. How can I specify the portion of the file to be rendered? (I need an SVG-equivalent of CSS's background-position attribute) Update I suspect preserveAspectRatio attribute to be what I need, but can not figure out how to use it with <image> . See this example. 回答1: You can use preserveAspectRatio to