我一直在尝试将图标大小调整为75*75但在我的脸书页面上它会被压缩.我见过http://www.facebook.com/cocacola的应用程序图标,试图弄清楚他们是怎么做到的,因为我尝试了不同的尺寸.
我一直在使用H5BP看起来像Eons并发现它真的有用但是我从来没有真正理解所有图标的用途.
我知道它们适用于各种设备但是我从来没有真正打扰过你想到它...我只是羞怯地用我自己的设备替换了我正在研究的网站.
我刚刚用谷歌搜索,找不到任何好的解释,并在什么情况下使用它们?
我有一个iPhone和iPad,但老实说我对两者都没有留下深刻的印象,因此我可能不太了解H5BP图标在这些设备上的确切位置......
我想更改项目的图标而不是java图标.当程序图标显示在状态栏中时,它应该显示自定义图标而不是默认的java图标.
我使用以下代码.请告诉我这段代码有什么问题.
class newframe extends JFrame
{
Container cp;
newframe()
{
cp=this.getContentPane();
cp.setLayout(null);
}
public static void main(String args[])
{
newframe frm= new newframe();
frm.setbounds(0,0,1000,800);
frm.setVisible(true);
ImageIcon im1= new ImageIcon("path upto image");
frm.setIconImage(im1.getImage());
}
}
Run Code Online (Sandbox Code Playgroud) 当我新建一个Android项目时,我能够通过提供图像或文本来生成不同大小的应用程序图标,我该如何对正在开发的项目执行此操作?
我有一些程序的路径(例如资源管理器),如何获取程序图标,将其转换为png/jpeg然后在PictureBox中显示?
我有这样的事情:
string filePath = "C:\\myfile.exe";
Icon TheIcon = IconFromFilePath(filePath);
if (TheIcon != null) {
// But then I don't know what to do...
}
public Icon IconFromFilePath(string filePath){
Icon programicon = null;
try {
programicon = Icon.ExtractAssociatedIcon(filePath);
}
catch { }
return programicon;
}
Run Code Online (Sandbox Code Playgroud)
我发现了类似的东西.这是图标.我怎么能创建32位图标?
任何人都知道如何在JQM 1.4中更改图标的图标颜色?我正在杀死图标上的背景颜色,光盘等,并希望将其从"黑色"更改为白色条形.我不确定是否可以直接通过css更改图标颜色.
<a href="#main-menu" style="background-color: transparent;
box-shadow: none; border:0px; border-radius:0px; color:#fff"
class="jqm-navmenu-link ui-nodisc-icon ui-alt-icon ui-btn-left ui-btn ui-icon-bars ui-btn-icon-notext ui-corner-none"
data-role="button" role="button"></a>
Run Code Online (Sandbox Code Playgroud) 我从icomoom下载了一些图标,但图标背景颜色是黑色和白色.我想给自己的颜色.可以告诉我怎么办?
当我下载图标时,我得到了以下style.css
@font-face {
font-family: 'icomoon';
src:url('fonts/icomoon.eot?-haa506');
src:url('fonts/icomoon.eot?#iefix-haa506') format('embedded-opentype'),
url('fonts/icomoon.woff?-haa506') format('woff'),
url('fonts/icomoon.ttf?-haa506') format('truetype'),
url('fonts/icomoon.svg?-haa506#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'icomoon';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-home:before {
content: "\e600";
}
.icon-images:before {
content: "\e601";
}
.icon-pawn:before {
content: "\e602";
}
Run Code Online (Sandbox Code Playgroud) 所以我希望背景在我的图标上完全透明,所以我有代码:
<a data-transition="slideup" href="#menu" data-icon="bars" data-role="button" data-iconpos="notext" data-iconshadow="false" class="ui-nodisc-icon">Menu</a>
Run Code Online (Sandbox Code Playgroud)
但是当我添加ui-nodisc-icon类时,我的图标周围会出现一个奇怪的灰色圆圈:
是什么导致了这个问题以及如何解决这个问题?