emphasize that it is a concept on a software system? Because when you buy a cell phone, you often hear another parameter called PPI, which is the pixel density on the phone screen, but this is the concept of physics, it is an objective existence will not change. DPI is a user-specified value after the software references a physical pixel density, which ensures that the physical pixel density within a range uses the same value on the software. This will help with our UI adaptation.For example, s
Learning notes: App transduction-Details Android and iOS platformsReprinted from: http://www.woofeng.cn/articles/168.html Copyright belongs to the original author allYa Ru has leeOriginal address: http://blog.boocss.com/app-android-ios/One. Android versionIn the Android version of the design, there are many sizes, then we want to use a size as the benchmark, then the benchmark size is 480px*800px, after the completion of the plan to start cutting diagramTo be aware of:A:android mainly has 3 kind
netdisk http://u.115.com/file/e6ksrqp7 Data Bank http://dl.dbank.com/c0xoztg42h Unzip, install, register, and open. Click Add video to add a video. For example: Click settings to set the output video and manually change the output resolution to 320*480. For example: Click Edit to cut the video. The key part is that the videos made by many friends are not distorted, but the pictures are faulty, The problem lies here. Follow th
should I emphasize that it is a concept on a software system? Because when you buy a cell phone, you often hear another parameter called PPI, which is the pixel density on the phone screen, but this is the concept of physics, it is an objective existence will not change. DPI is a user-specified value after the software references a physical pixel density, which ensures that the physical pixel density within a range uses the same value on the software. This will help with our UI adaptation.For e
Speaking of the mini-computer, I believe many audiophile players will not be unfamiliar to this stealth computer company from the United States, which had launched a mini PC product similar to the size of a TV set-top box as early as 2010. Recently, stealth computer company again out of the masterpiece, officially released its latest stealth LPC-480 third Daicouri processor Mini computer mainframe.
The Stealth LPC-
and height of the View.
Now we can see the difference between dp and percentage, and the percentage can better solve our adaptation problem.
Some tips adaptation
Let's take a look at some matching tips.
In fact, the above three tip points are used in the final analysis. match_parent is equivalent to 100% reference parent control; weight is allocated proportionally; custom view is nothing more than because most of the size is calculated by percentage;
Through these tips, we can see that if we
First, let's talk about the environment: 2.6.33-rc4, arm9-running, 640*480
The basic idea is to delete the static ppm file from the kernel and put the generated array into the memory. The steps are as follows:
1. decompress the kernel and modify drivers/video/logo/Makefile.
Only obj-$ headers are reserved. obj-$ (CONFIG_LOGO) + = logo. o
The purpose is to remove the process of generating xxx_logo_xxx.c, because we do not need
2. The image disp
can get Android to support the concept of percent.3, the introduction of the percentage of 1, introducedIn fact, our solution is to have a folder for each of your resumes in the project for the resolution of the phone screen you need to adapt.Such as:Then we are based on a benchmark, which means:
For example, the resolution of 480*320 is the benchmark
Width is 320, the width of any resolution is divided into 320 parts, the val
Imagema to add a watermark to the image, the watermark image will change the reason: the color space of the picture does not correspond to the watermark is the original CMYK watermark (actually a composite picture) command: Convert e:\1.jpg e:\water.png-gravity Southeast-geometry +10+10-composite e:\1-1.jpg Original watermark Picture: The resultant composite Picture: Before always thought is the reason of the parameter, so tried the composite of ImageMagick a lot of parameters, Composite-compose
Rotatelogs truncate the log for configuration. However, after you save vhost.conf, the server httpd-k restart always fails to restart successfully.Log file:(2) No such file or Directory:AH00089:Couldn ' t start errorlog process ' ROTATELOGS/VAR/WWW/HTML/LOGS/ERROR/%Y/%M/%D_ERROR.L OG 86400 480 '. Ah00015:unable to open logs (2) No such file or Directory:AH00089:Couldn ' t start errorlog process ' rotatelogs/var/www/h Tml/logs/error/%y/%m/%d_error.log
//////////////////////////////////1. drawable -(
Hdpi, Mdpi, ldpi)
DPI is the abbreviation of "dot Per Inch". The number of dots per inch.
Four density classifications: ldpi (low), mdpi (medium ),Hdpi(High), and xhdpi (extra high)
Normal screen: ldpi is 120, mdpi is 160,HdpiIt is 240, and xhdpi is 320.
2. Differences between WVGA, hvga, and qvga
VGA is "video graphics array", and the display standard is 640*480.
WVGA (wide VGA) Resolution is
The screen sizes of Android devices are various, but they can be divided into two major parts during design: versions earlier than 3.0 and Versions later than 3.0. What problems will this cause? Let's use three assumptions to explain.1. Assume that you have two 4 inch devices on your hand. The resolution of device A is 800 × 480, and that of Device B is 1600 × 960. You have designed A 64*64 pixel icon on device A, and it seems to be in the right size,
While doing Facebook and WhatsApp sharing, sharing the Google short chain, Facebook gets no big picture, and the competition is not the same as the display, WhatsApp to share the short chain without pictures and description.WHATSAPP:Analysis of the ucnews, found that they share the WhatsApp link to the page, the meat tag to add the relevant attributes, and then add the relevant tags in their own station, problem resolution.Facebook:Through multiple tests, it was found that Facebook was based on
with the same width, for example, 3 inch, if the density is 1.0, the resolution is 3 inch dip * X or 1.5 PX. If the resolution is, if the density is, resolution is 480*1.5 = px * X or dip * X. (Here X indicates the screen height ). if it is the same as 240dip, the two machines will show half the length, thus ensuring the proportion. in this case, if the resolution is 480 or 720, you can use the same layout
Article 3. Pre-development knowledge supplement: length units and screen resolutions of Android, which are also reproduced ~~, Android screen resolutionThis article is a bit early, but it is very practical. For more information about the Unit, see the red part.
Screen Resolution Basics
1. terms and concepts
Terms
Description
Remarks
Screen size)
It refers to the actual physical size of the mobile phone, such as the commonly used 2.8 inch, 3.2 inch, 3.5 inch, 3.7 inch
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.