icons

Cordova/Phonegap - Android: Icon not updating

99封情书 提交于 2019-12-09 10:44:42
问题 I'm using cordova 3.3.0 (CLI) and I replaced the icons in the www/res/icons/android folder, as per docs instructions (http://cordova.apache.org/docs/en/3.3.0/config_ref_images.md.html). The problem is, when I build and send the app to my phone (cordova run android), the icon is still the default one, even if I uninstall the app from my phone before installing again. Any advise on how to solve this? Thanks! 回答1: I am using http://ionicframework.com/ to build my app and it uses cordova. I ran

How to reference icons inside .resx files from xaml?

假装没事ソ 提交于 2019-12-09 09:25:43
问题 I am working on a C# WPF application, using .resx files for resource management. Now, I'm trying to add icons (.ico) to the project but I'm running into some problems. <Image Name="imgMin" Grid.Column="0" Stretch="UniformToFill" Cursor="Hand" MouseDown="imgMin_MouseDown"> <Image.Style> <Style TargetType="{x:Type Image}"> <Setter Property="Source" Value="\Images\minimize_glow.ico"/> <Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Source" Value="\Images\minimize

Ideal size for .ico

ε祈祈猫儿з 提交于 2019-12-09 07:38:13
问题 What is an ideal size for a .ico file, that would sit in the top corner of a window? 回答1: Short answer: 16 x 16 pixels. Long answer: .ico files can actually contain multiple images, at multiple colour depths - you can provide 16x16, 32x32, 48x48 and 64x64 in a single file and the OS will pick the best one to show. Of course to keep the file size low you don't want to put too many in there, but if you think people might be saving a link on their desktop (say it's a web application) then it's

Icons in menu are smaller than they should be

梦想的初衷 提交于 2019-12-09 07:33:32
问题 SOLVED: I was using icons from sdk v9 (Android 2.3 Gingerbread) which seems to have different dimension. The asset studio also creates icons for 2.3. So I placed gingerbread icons to drawable-xxpi-v9 and for older versions I put icons from SDK v8 to drawable-hdpi and it works fine now Original question: Hello I have a little problem. All the icons in my apk are smaller than the same icons in other apps (Gmail etc.) This is how it looks like in my apk and this is the same icon in Gmail.apk. I

Set application icon and window icon to Windows 7 friendly icon

别说谁变了你拦得住时间么 提交于 2019-12-09 06:57:05
问题 I've created a WPF project in Visual Studio 2010 using .net 4.0 I've created an icon with many different sizes and formats right from 16x16 4 bit BMP up to 256x256 24 bit BMP. I set it as the program's icon in the property pages for the application, and as the window's icon in the icon propety on a WPF Window. This works to a point. The icon is displayed in all the expected location, however, it seems invariably to use one of th lower resolution images. In the task bar it apperas to be using

Icons in custom dialogs android

此生再无相见时 提交于 2019-12-09 06:47:58
问题 Is there a way to set an icon on a custom dialog without using the AlertDialog methods? Dialog has title, but is missing that nice divider and the ability to set an icon, but surely there must be a way of getting both without having to use AlertDialog? 回答1: You can add an icon with the following code: Dialog dialog = new Dialog(context); dialog.requestWindowFeature(Window.FEATURE_LEFT_ICON); dialog.setContentView(R.layout.custom_dialog); dialog.setTitle("Dialog Title"); dialog.show(); dialog

WPF: Disappearing icons

老子叫甜甜 提交于 2019-12-09 06:03:39
问题 I have several icons which are declared in Window.Resources. They show up fine the first time they need to appear (eg: a Menu is clicked, the MenuItem icon works), but after another Menu (eg: a context menu) is shown, the original icon disappears and does not return. It's as though the last element which used the icon for the first time gets to keep it. <Window.Resources> <Image x:Key="Chart_16" Source="pack://application:,,,/Resources/images/chart_16.png" /> ... <Window.Resources> <MenuItem

Navigation drawer menu icon is not displayed correctly

痞子三分冷 提交于 2019-12-09 05:25:00
问题 I want to input my customized icon into the menu in navigation drawer. However, when I run the application it only display a shadow of icon. How do I show the image correctly? Here is the xml file for menu activity_main_drawer.xml: <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <group android:checkableBehavior="single"> <item android:id="@+id/recent_picture" android:icon="@mipmap/ic_recent" android:title="Import" /> <item android:id="@

Creating a shortcut: how can I work with a drawable as Icon?

天大地大妈咪最大 提交于 2019-12-09 04:50:26
问题 Below is My code to create a shortcut to a selected application. I have really no problem and the application work quite well. The problem is that I am able to create a shortcut with a ressource from my application: intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, Intent.ShortcutIconResource.fromContext(this, R.drawable.icon)); But I really would like with a custom drawable. ( Drawable myDrawable=.....) How can I do? ResolveInfo launchable=adapter.getItem(position); final Intent

How to save ImageMSO icon from Microsoft Office 2007?

点点圈 提交于 2019-12-09 04:45:00
问题 I found a lot of nice icons from Microsoft Office 2007. Do you any idea for extract & save all icons as PNG files by using VBA? Partial ImageMSO http://rabu4g.bay.livefilestore.com/y1p2SF1q63YjDjPNmK4nYMW2644r9AO2aAsE__vBYznTeXD0b4SJUU0O07fxPD0r7aO_83gCJ-8OfcOQsFKG0fQMRnTEneBU1TI/Capture.PNG The following code is code which is used to get image from ImageMSO. Application.CommandBars.GetImageMso([name], [width], [height]) I can display all as PictureBox control and save excel file as web page.