我有一个图形,尺寸300*90。 h/mdpi/ldpi的尺寸如何? 增 编
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, ...
我有一个图形,尺寸300*90。 h/mdpi/ldpi的尺寸如何? 增 编
<谷歌a href=”https://developer.android.com/training/multicr/ Screendensities#TaskProvideAltBmp”rel=“nofollow noreferer”>suggests 使用
3: 4 : 6 : 8 : 12 : 16
比额表比率
ldpi : mdpi : hdpi : xhdpi :xxhdpi : xxxhdpi
。 例:
举例来说,如果提到纽特州的规模,那么正确的层面应当是:
这取决于对你设计这种图形的大小装置。 如果你想在320x480(HVGA)大豆中显示300x90,那么,你的粉末尺寸对计量吸入器装置是正确的,你需要以下图像:
LDPI是计量吸入器规模的75%,而DPHPI是计量吸入器规模的150%。 例如,如果你在480x800(WVGA)水面设计了这些图象,那么,对于PPI来说,你的范围已经正确,你需要从那里缩小另外两个层次:
Hope that Helps!
为此,你可以尝试一下我为扩大不同类型(png, jpg, gif, svg, psd, 9-TOP)图像而制作的工具。 使用的是按质量计算法,支持某些无损压缩工具,如粉碎。 有一个GUI和指挥线。
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 ...