I m 想为安乐团树立背景形象,我不敢肯定与资产的最佳关系。
简单地向资产供应900x570或其中的 about光和代谢系统,或者自动将其安装在光店,或者在3个“条码”中提供这些图像?
空间的节省规模将非常小:大约10-20k,因此我更有理由简单地照亮图像本身。
定向标注器将升至2.0,并用支持斜体。
I m 想为安乐团树立背景形象,我不敢肯定与资产的最佳关系。
简单地向资产供应900x570或其中的 about光和代谢系统,或者自动将其安装在光店,或者在3个“条码”中提供这些图像?
空间的节省规模将非常小:大约10-20k,因此我更有理由简单地照亮图像本身。
定向标注器将升至2.0,并用支持斜体。
从开发商的角度来看,给你注入新形象显然比较容易,但大多数电话看不好。 照片店比我的经验更能扩大算法。
如果你在任何可提取、可推土机、可提取-mdpi、可提取-hdpi和roid中仅具体说明一个拷贝图像,则按缺省比额表为您提供。
然而,由于业绩原因,这是一种好的做法,使不同的大小图像出现差异。
这种做法比较容易,但在业绩方面成本较高。
If the target density is known, it ll be better to script all the needed conversion for your icons / splashscreen / images and forget about that to the next time your masters change… at no cost…
这里的一个例子是,将图像Magick用于我方的漫画和从主编的目目目:
#!/bin/bash
convert -transparent white ic_padlock.pdf ic_padlock.png
convert -scale 36x36 ic_padlock.png ../../res/drawable-ldpi/ic_launcher_padlock.png
convert -scale 48x48 ic_padlock.png ../../res/drawable-mdpi/ic_launcher_padlock.png
convert -scale 72x72 ic_padlock.png ../../res/drawable-hdpi/ic_launcher_padlock.png
convert -scale 24x24 ic_padlock.png ../../res/drawable-ldpi/ic_listview_padlock.png
convert -scale 32x32 ic_padlock.png ../../res/drawable-mdpi/ic_listview_padlock.png
convert -scale 48x48 ic_padlock.png ../../res/drawable-hdpi/ic_listview_padlock.png
convert -transparent white ic_padlock_ok.pdf ic_padlock_ok.png
convert -scale 36x36 ic_padlock_ok.png ../../res/drawable-ldpi/ic_listview_padlock_ok.png
convert -scale 48x48 ic_padlock_ok.png ../../res/drawable-mdpi/ic_listview_padlock_ok.png
convert -scale 72x72 ic_padlock_ok.png ../../res/drawable-hdpi/ic_listview_padlock_ok.png
您可以使用密度参数转换,以优化:
convert -density targetdensityxtargetdensity -transparent white splash.pdf ../../res/drawable/splash.png
I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...
I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...
I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...
I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...
To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?
When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...
I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...
I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...