From: http://hi.baidu.com/china_8/item/b1d7e41005111b7f7a5f25a2
Terms and concepts related to mobile phone resolution
Screen size: the actual physical size, diagonal measurement of the screen. For convenience, Android divides all the screen sizes into four broad sizes: small, normal, large, and extremely large.
1. Understand several concepts
(1) resolution. Resolution is the cell phone screen pixel points, generally described as the screen "wide x high", Android phone screen Common resolution has 480x800, 720x1280, 1080x1920 and so on. 720x1280 indicates that this screen has 720
Android screen adaptation has always been a headache for developers, because Android devices vary in size, and screen display is not the same, how to screen adaptation to Android is a big challenge, in order to deal with different
. defined in Dimens.xml; to make the code simple, Android internally uses the PIX to represent the size of the control, but this is based on the current screen. To accommodate multiple screens. Android recommends that developers do not use detailed pixels to represent the size of the control. 3) do not use Absolutelayout (android1.5 is obsolete), can use relativ
(linearlayout.vertical); @Override public void Computescroll () {iF (mview!= null mscrollview!= null viewswitchlistener!= null) {int y = mscrollview.getscrolly ()
;
if (isflag) {int top = Mview.gettop ();
if (y >= top) {viewswitchlistener.onviewshow ();
Isflag = false;
} if (!isflag) {int bottom = Mview.getbottom ();
if (y
Use effects in projects:
The above is a small set to introduce the Android imitation Taobao view slide to the to
Android screen adaptation has always been a headache for developers. Because android devices have different sizes and different screen display effects, it is a great challenge to adapt android devices to the screen, in order to de
similar to the PC industry in the early 90 competition. The PC industry's "arms race" to the end with the emergence of XP system to WINDOWS7 system, the system and the application of hardware demand decline so that the entire industry into an inability to save the status quo, the PC will eventually return to provide more valuable applications and use of innovative scenarios.At the consumer level, the big screen is already a popular trend, even if the
Android uses the Root permission to simulate global buttons and touch-screen events in the background (similar to the press-key wizard). Android rootAndroid uses the Root permission to simulate global buttons and touch screen events in the background (similar to the button pushing wizard)Sometimes we need to use
Android gets the screen size and sets a title bar without a title bar. android title bar
Android is very often used to obtain the screen size. For example, if you want to write a program and make a program with strong versatility, the sc
Android screen rotation method summary
Android screen rotation method summary
This article mainly introduces how to implement screen rotation in Android. The example summarizes the techniques related to
original file, and delete the logo_linux_clut224.c logo_linux_clut224.o file.
Finally, compile the kernel: (compiled through)
Bytes ----------------------------------------------------------------------------------------------------
Android boot animation consists of two parts:
Android text displayed at startup;
Android luminous animation.
The boot animatio
In some scenarios, we need to change the screen direction of the mobile phone. Below is an example I wrote.
Xml page file:
Xmlns: tools = "http://schemas.android.com/tools"
Android: layout_width = "match_parent"
Android: layout_height = "match_parent"
Android: paddingBottom = "@ dimen/activity_vertical_margin"
An overviewAndroid N released, the biggest highlight there are 2, native system to the application of split screen support and quick reply. Now only the split-screen feature, the latest Android N system support horizontal screen when the two app side-up, vertical screen when
Android screen adaptation, Android
To sum up your screen adaptation experience, I only hope that I can continue to improve and improve. If you have a warm-hearted "predecessors" to guide me, I am very grateful!
Android 5.0 has already come out, saying that this version has d
The screen processing is the development of the application is a basic point of comparison, almost all will be used. Online there is a lot of the screen to switch between the article, but turned over N page found unexpectedly exclusively is reproduced, so do not want to waste time to this above, or oneself according to their own needs and experience summed up it, also convenient for later reviewThe differen
Outline1, the folder in the Res directory in the Android screen size 2, the principle of the size of the DP representation 3, the 720p size of the adaptation needs to pay attention to what 4, UI transduction by what size to the best reference: http://www.360doc.com/content/12/ 0301/17/5087210_190881395.shtmlSeveral concepts:1) screen density (dpi): Dot per inch,
1. px (pixels): it is the physical pixel of the screen, which is related to the density. The density is high and there will be more pixels per unit area. This is generally not recommended.
2. dip or dp (density-independent pixels): An abstract unit based on density. This is related to the hardware of the device. We recommend that you set the width and height of some views during development, in general, there is no sense of scaling at different resolu
1. Basic ConceptsScreen size – The actual size of the screen, measured by the diagonal length of the screen (e.g. 3.4-inch, 3.8-inch). Android divides the screen into the following 4 types: Small,normal,large,extra large.How to judge?Screen Density-How many pixels are in a r
Android development skills-similar to the new version of QQ screen lock pop-up window, android development skills
The new version of qq can display qq messages in the pop-up window under the screen lock. This function is also required for projects currently in progress. After a variety of experiments and data searches,
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.